On 2012-11-07 22:16, Timon Gehr wrote:
> Text interpolation.
>
> enum d = "c";
>
> mixin(X!"abc@(d)ef"); // -> abccef
>
> I use it mostly for code generation.
>
> mixin(mixin(X!q{
> if(@(a)) @(b);
> }));
This is what we need AST macros for.
--
/Jacob Carlborg