DMD 1.005 release
Walter Bright
newshound at digitalmars.com
Wed Feb 7 14:33:31 PST 2007
Yauheni Akhotnikau wrote:
> May be I'm wrong, but I think that 'static if' and recursive templates
> (and other techniques available for metaprogramming at compile time) are
> not as powerful as ordinary D itself. So it is much more preferable to
> me to program such DSL as 'normal' D program. May be it is a good idea
> to make 'staged' compilation? For example DSL transformation code is
> written as ordinal D programm. Then that code compiled at first
> compilation stage, then it is invoked by compiler and the result is
> placed into input to the next stage.
The main difficulty is if the DSL needs to access symbols in the rest of
the D code.
More information about the Digitalmars-d-announce
mailing list