DIP 50 - AST macros
Walter Bright
newshound2 at digitalmars.com
Wed Nov 13 14:34:04 PST 2013
On 11/13/2013 2:18 PM, deadalnix wrote:
> Was is missing is the capability to look into the lazy parameter's ast and act
> accordingly.
>
> Here you can wrap something around code, not generation code depending on passed
> code.
That's correct. But you can look into the AST with expression templates. So,
expression templates combined with lazy arguments and mixin templates may fill
the problem space.
More information about the Digitalmars-d
mailing list