www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Accessing D's parser

reply Zijad Kurtanovic <zijad.kurtanovic zkey.de> writes:
Hi all,

I'm very interested in the programming language D; today I tried few examples
with D for the first time.
Are there any docs regarding the usage of D's parser only? I'm interested in
manipulating D's sources.

Thanks in advance.

Regards, Zijad
Jan 27 2007
parent Hasan Aljudy <hasan.aljudy gmail.com> writes:
The parser used by the compiler is available for free as part of the dmd 
download, but it doesn't work out of the box.

There are ports of it to D and Java (check the dparser project and 
descent project at dsource.org).
There's also another parser, which I've written from scratch (also in 
dsource.org under project codeanalyzer).

Zijad Kurtanovic wrote:
 Hi all,
 
 I'm very interested in the programming language D; today I tried few examples
 with D for the first time.
 Are there any docs regarding the usage of D's parser only? I'm interested in
 manipulating D's sources.
 
 Thanks in advance.
 
 Regards, Zijad
Jan 27 2007