DIP78 - macros without syntax extensions

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Wed May 27 02:40:34 PDT 2015


On Wednesday, 27 May 2015 at 09:31:33 UTC, Dennis Ritchie wrote:
> Is not it possible to combine in the desired degree of 
> declarative macros with imperative languages?

The point is to streamline ast creation. I think, helper methods 
can be provided by phobos in, say, std.macros to simplify ast 
creation for common constructs. Well, in a way libraries are a 
form of DSL...


More information about the Digitalmars-d mailing list