feature request: __ARGS__ for logging (cf __FILE__, __LINE__, __FUNC___)

Timon Gehr timon.gehr at gmx.ch
Fri Feb 1 03:24:00 PST 2013


On 02/01/2013 11:54 AM, Jacob Carlborg wrote:
> ...
>
> Sounds like an ugly hack for AST macros. This is a proposal for AST
> macros I've been working on. It's not finished but here it is:
>
> https://dl.dropbox.com/u/18386187/ast_macros.html
>

Make sure to include some way to pattern match on the syntax trees. 
(Otherwise we are back to manual parsing of the ast.toString() output.)


More information about the Digitalmars-d mailing list