Parser

Sam Phillips sambeau at mac.com
Tue Feb 6 16:57:24 PST 2007


Michiel Wrote:

> I want to write a parser in D. Is there a D library like lex/yacc/bison with
> which I can do syntax-directed translation?
> 
> The digitalmars site said that the D parser has also been written in D. How
> did they build the parser?
> 
> Thanks!

There is also The Ragel State Machine Compiler which has a D interface:

http://www.cs.queensu.ca/~thurston/ragel/

More of a Lex++ than Yacc – but may be of interest to you




More information about the Digitalmars-d mailing list