Compile-time AST manipulation API
0ffh
frank at frankhirsch.youknow.what.todo.net
Sat Nov 24 08:29:24 PST 2007
0ffh wrote:
> [...]
Okay, maybe it's a bit too insane! =)
I imagine it would tax the compile time execution capabilities
of the compilers, maybe beyond their limits. But how about a
compiler switch to spit out the AST in some text format (say,
in Annotated Term Format), and a possibility to feed those
files back to the compiler, instead of D source?
I imagine that couldn't be too hard?
regards, frank
More information about the Digitalmars-d
mailing list