digitalmars.D - Macro system in D
- Yigal Chripun (4/4) May 07 2008 Here's an interesting article (PDF) discussing the Nemerle Macro system:
- Dan (3/9) May 07 2008 D is not Nemerle. D does not use macros. D does not have syntax tree r...
- Yigal Chripun (4/16) May 07 2008 in the last D conference Walter did mention AST Macros. It probably just
- Robert Fraser (5/11) May 07 2008 D was getting macros (though not exactly the same as Nemerle's). In
- Bill Baxter (3/15) May 07 2008 macro.c in the DMD sources is about DDOC macros.
- Robert Fraser (2/19) May 07 2008 Oops, my bad
- terranium (2/4) May 08 2008 and about what is a macro keyword?
- Robert Fraser (2/7) May 09 2008 A token you can't use as an identifier.
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
May 07 2008
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? --YigalD 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.
May 07 2008
Dan wrote:Yigal Chripun Wrote: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.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? --YigalD 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.
May 07 2008
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? --YigalD was getting macros (though not exactly the same as Nemerle's). In fact, there's even a macro.c in the DMD source. But I'm not sure if they've been dropped by the wayside; Walter hasn't mentioned them since the conference last year.
May 07 2008
Robert Fraser wrote:Yigal Chripun wrote:macro.c in the DMD sources is about DDOC macros. --bbHere'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? --YigalD was getting macros (though not exactly the same as Nemerle's). In fact, there's even a macro.c in the DMD source. But I'm not sure if they've been dropped by the wayside; Walter hasn't mentioned them since the conference last year.
May 07 2008
Bill Baxter wrote:Robert Fraser wrote:Oops, my badYigal Chripun wrote:macro.c in the DMD sources is about DDOC macros. --bbHere'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? --YigalD was getting macros (though not exactly the same as Nemerle's). In fact, there's even a macro.c in the DMD source. But I'm not sure if they've been dropped by the wayside; Walter hasn't mentioned them since the conference last year.
May 07 2008
Bill Baxter Wrote:macro.c in the DMD sources is about DDOC macros.and about what is a macro keyword?
May 08 2008
terranium wrote:Bill Baxter Wrote:A token you can't use as an identifier.macro.c in the DMD sources is about DDOC macros.and about what is a macro keyword?
May 09 2008