Writing a language parser in D
BCS
none at anon.com
Tue Sep 15 10:56:34 PDT 2009
Hello Justin,
> 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.
>
I've written this:
http://www.dsource.org/projects/scrapple/browser/trunk/dparser
It's a pure compile time parser generator that takes grammars defined as
text and generates a backtracking recursive decent parser.
More information about the Digitalmars-d
mailing list