AST like coding syntax. Easy upgrade!

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 7 06:44:27 PDT 2015


On 2015-09-06 21:32, Prudence wrote:
> template X(Y)
> {
>      string X = Y.stringof;
> }
>
> auto s = X({int 3;})
>
> Of course, doesn't work!!

You might be interested in this [1].

[1] http://wiki.dlang.org/DIP50

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list