Writing a language parser in D

Alexander Bothe info at alexanderbothe.com
Tue Sep 15 05:15:44 PDT 2009


Justin Johansson Wrote:

> Can D people please recommend suitable tools for generating a parser (in D) for an LL(1) grammar.  There's bound to be much better parser generator tools available nowadays, since my last foray into this area 10+ years ago with YACC.  I've heard of tools like bison, SableCC etc but apart from the names know nothing about them.
> 
> (Note.  This question is not about writing a parser for D.  It is about writing a parser in D for another language which has an LL(1) grammar).
> 
> Thanks in advance for all help.
> 
> -- Justin Johansson
> 

My D-IDE (written in C#) has an extra DLL which contains an entire D Parser...It's based on the SharpDevelop parser and lexer.... may you can use it....

www.alexanderbothe.com/?id=27




More information about the Digitalmars-d mailing list