Closed kyleoneill closed 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.
List(Vec<Self>)
Example syntax looks like
- var my_list = LITERAL '[1, "val", false]'
Closed in favor of https://github.com/kyleoneill/chimerascript/issues/4
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