Macro system in D

Yigal Chripun yigal100 at gmail.com
Wed May 7 23:30:54 PDT 2008


Dan wrote:
> Yigal Chripun Wrote:
> 
>> Here's an interesting article (PDF) discussing the Nemerle Macro system:
>> http://nemerle.org/metaprogramming.pdf
>>
>> Could D adopt a similar design? What do you think?
>>
>> --Yigal
> 
> D is not Nemerle.  D does not use macros.  D does not have syntax tree reflection, let alone built into the language.
> 
> D most probably will not adopt a similar design.

in the last D conference Walter did mention AST Macros. It probably just
got postponed because of the const design. I hope D does get such a
feature since it's a very powerful concept.



More information about the Digitalmars-d mailing list