Offering Access to Parser

cy via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 10 20:22:20 PST 2016


On Wednesday, 10 February 2016 at 12:24:49 UTC, Jacob Carlborg 
wrote:
> That's very close to AST macros. The only difference is the 
> need to parse the input, "bar" in this case.

Well yes, that's my point. AST macros don't need any new special 
syntax or language support, just access to the compiler's syntax 
parser. Then you can use normal mixins to get the code you want.

I dunno. I don't really care that much. It was just an idea I had 
that turned into way too many words.


More information about the Digitalmars-d mailing list