DIP 50 - AST macros

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Nov 12 09:20:20 PST 2013


On 11/12/13 9:03 AM, Dicebot wrote:
> On Tuesday, 12 November 2013 at 16:54:19 UTC, Andrei Alexandrescu wrote:
>> I don't see how AST reflection is needed for generating correct D code
>> from an SQL expression. Dmitry did exactly that with ctRegex. Please
>> illuminate.
>
> Other way around. Generating arbitrary output (including but not limited
> to SQL expressions) from D code.

Yah. That I agree with. That's why I said we should reformulate the 
problem that LINQ solves.

> As I have already mentioned, it is the
> very same thing we do now with __traits and UDA's but not limited to
> only declarations.

Interesting.


Andrei


More information about the Digitalmars-d mailing list