DMD 1.005 release

Walter Bright newshound at digitalmars.com
Wed Feb 7 23:06:04 PST 2007


Yauheni Akhotnikau wrote:
>> The main difficulty is if the DSL needs to access symbols in the rest 
>> of the D code.
> 
> I agree.
> But how do you think do such things in the current approach?

int i = 4;
mixin("writefln(i)");

will print:

4



More information about the Digitalmars-d-announce mailing list