What are AST Macros?

Clemens eriatarka84 at gmail.com
Wed Jul 14 05:36:08 PDT 2010


Johan Granberg Wrote:

> Nick Sabalausky wrote:
> > Plus, there's the whole duplication of code: D parser in C++, plus a D
> > parser in D CTFE.
> 
> On the other hand this would give us an D parser in D that might help in
> making D self hosting.
> 

http://code.google.com/p/dil/

"Dil is a hand-crafted compiler implementation for the D programming language written in D 1.0 using the Tango standard library. The lexer and the parser are fully implemented."

http://www.dsource.org/projects/ddmd

"DDMD is a direct port of official Digital Mars D compiler to the D Programming Language."

Both of these are not fully functional compilers, but lexing and parsing seems to be reasonably complete in both of them.


More information about the Digitalmars-d mailing list