DIP 50 - AST macros

Jacob Carlborg doob at me.com
Sun Nov 10 23:45:53 PST 2013


On 2013-11-11 02:40, Timothee Cour wrote:
> <[ .. ]> syntax looks very foreign. How about m{...} (with q{...} as a
> precedent)?

As the DIP says, that just one suggestion of the syntax. If we even need 
a syntax. An alternative, without any new syntax is the "ast" macro:

http://wiki.dlang.org/DIP50#The_AST_Macro

This is similar to the "refiy" macro in Scala.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list