kyleoneill / chimerascript

0 stars 0 forks source link

Add list support to Literal #3

Closed kyleoneill closed 11 months ago

kyleoneill commented 11 months ago

abstract_syntax_tree::Literal should support a list. Will need to add a variant that looks like List(Vec<Self>), the ability to read a list in the grammar file, and parsing in the AST.

Example syntax looks like

- var my_list = LITERAL '[1, "val", false]'
kyleoneill commented 11 months ago

Closed in favor of https://github.com/kyleoneill/chimerascript/issues/4