(no title)
ndh2 | 7 years ago
How abstract is that initial AST? Can you use these rewriting transformations to expand the grammar?
ndh2 | 7 years ago
How abstract is that initial AST? Can you use these rewriting transformations to expand the grammar?
bendmorris|7 years ago
With that said, down the line I plan to add procedural macros, and those will likely be lexical (they take a series of tokens as input, which doesn't need to parse into valid AST.) If I do go that route, such macros would have to be invoked explicitly.