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

bearophile bearophileHUGS at lycos.com
Fri Feb 1 06:35:22 PST 2013


Jacob Carlborg:

> 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

Maybe it's the first serious proposal for D macros I see :-)

Is it possible to re-use the <[ ]> syntax (and $...) for other 
purposes?

Have you seen the macros of Scala language? 
http://scalamacros.org/

Regarding the attribute macros, my main use case for them is to 
extend the D type system in some ways. How well is such usage 
supported?

Bye,
bearophile


More information about the Digitalmars-d mailing list