Parser Generation in C#
One of the projects I'm working on requires parsing user input. http://www.thefreecountry.com/programming/compilerconstruction.shtml is a list of parser generation tools that we are considering. GOLD and COCO/R are the current front runners. This is a Windows Forms App, so the generated code must be C#. Does anyone have experience, reccomendations or horror stories about GOLD, COCO/R or any of the others?
I've used the Visual Parse++ product available here:
I developed a fairly simple programming langauge for a college programming project using ANTLR ( http://www.antlr.org ). I had very few problems with its generated C# lexer and parser.
What kind of grammar do you need to parse? Is it LL, SLR, LALR, GLR, or can it be handled by a regular grammar (most kinds of user input are regular anyway)?
Fog Creek Home