DIP78 - macros without syntax extensions

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Thu May 28 13:27:24 PDT 2015


On Tuesday, 26 May 2015 at 20:23:11 UTC, Kagamin wrote:
> http://wiki.dlang.org/DIP78 - Proposal for a macro system 
> without syntactical extensions to the language. Hence it 
> doesn't allow arbitrary syntax.

This is not even remotely enough to make a DIP. You seem to be 
using some API to build AST nodes, but this API is completely 
undefined.

Generally, you don't want an API to create AST. Both the 
programmer and the compiler already know one: the language syntax 
itself.


More information about the Digitalmars-d mailing list