mixin functions

Jacob Carlborg doob at me.com
Fri Nov 2 14:30:14 PDT 2012


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


More information about the Digitalmars-d mailing list