On 2012-11-02 21:03, Manu wrote:

I bumped into this today actually. It's certainly a nice idea.

I see a lot of noise about said AST macros...
I understand the idea, but I have no idea how it might look in practice.
Are there any working proposals?

No, not for D. But there are several other languages that have AST macros:

Scala: http://scalamacros.org/
Nimrod: (templates and macros) http://nimrod-code.org/tut2.html#templates
Nemerle: http://nemerle.org/wiki/index.php?title=Macros

Nemerle also supports creating new syntax for the language.

--
/Jacob Carlborg

Reply via email to