DMD 1.005 release
Walter Bright
newshound at digitalmars.com
Tue Feb 6 08:24:42 PST 2007
Pragma wrote:
> Walter Bright wrote:
>> The idea is to enable the creation of DSLs (Domain Specific Languages)
>> that don't have the crippling problem C++ expression templates have -
>> that of being stuck with C++ operators and precedence.
>
> It's funny you should say that. I was kidding with Kris in IRC last
> week about how you could just slap a copy of DMDScript in the compiler
> and let us talk to it directly from within templates. While this isn't
> letting us muck about with the AST, to create specalized grammars, this
> is certainly a more elegant solution.
>
> ... and it doesn't even require a separate syntax.
Andrei and I toyed with that exact idea for a while. It got shot down
after it became clear that since DMDScript has a "same-only-different"
syntax from D, it would be terribly confusing.
More information about the Digitalmars-d-announce
mailing list