"deadalnix" <deadal...@gmail.com> wrote in message news:zrmlbyboedaswcllz...@forum.dlang.org... > On Monday, 21 January 2013 at 19:23:19 UTC, Jacob Carlborg wrote: >> On 2013-01-21 20:00, Nick Sabalausky wrote: >> >> >> I know people don't like it but I have to say, this seems it could be a >> job for AST macros. > > I was thinking the same thing, but don't wanted to bug people. Indeed, it > is the perfect job for AST macro. I can concur now that you mentioned it > xD
AST macros are just compiler support pushed into user code/libraries. Exposing the AST to the user is a huge task and forces any supporting compiler to use a fixed AST representation.