Writing a language parser in D

Justin Johansson procode at adam-dott-com.au
Mon Sep 14 15:43:05 PDT 2009


> I've ported boost::spirit to d. No idea if it does what you want,
> but I've written some fairly complicated grammars with it.
> 
> It's not a tool though, you just define your grammar directly in code.
> Which is either a plus or a minus depending on your point of view.

Thanks for all replies, Ellery, div0, Bill et. al.

There's 101 odd productions in EBNF so whatever is the easiest to plug these directly into the tool or engine is probably the road of least resistance for this exercise.

<JJ/>




More information about the Digitalmars-d mailing list