On 2013-04-21 12:36, Belzurix wrote:

Hi!

As far as I can remember, macros have been deferred to D3 because it has
mixins and templates, so one can easily manipulate code in D. However,
it's been long time since there was serious discussion about the
implementation details. I'm happy to see that the topic emerged again
just before DConf - maybe the discussion will continue there.
Several non-lispy languages introduced macros long ago so the developers
may learn from others mistakes and they will avoid the pitfalls. These
languages include Groovy,
Scala, Nimrod and Rust.

There's also Nemerle which lets you create new syntax for your AST macros.

http://nemerle.org/wiki/index.php?title=Macros

--
/Jacob Carlborg

Reply via email to