mixin functions

Timon Gehr timon.gehr at gmx.ch
Sat Nov 3 12:09:54 PDT 2012


On 11/02/2012 10:30 PM, Jacob Carlborg wrote:
> 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.
>

- http://www.haskell.org/haskellwiki/Template_Haskell
- http://opendylan.org/books/dpg/db_329.html
- http://en.wikipedia.org/wiki/Common_Lisp#Macros

(not a complete list at all.)


More information about the Digitalmars-d mailing list