What parser generator do you recommend
- by stefan.ciobaca
I'm currently shopping for a FOSS parser generator for a project of mine. It has to support either C or C++.
I've looked at bison/flex and at boost::spirit.
I went from writing my own to spirit to bison to spirit to bison to spirit, each time hit by some feature I found unpleasant.
The thing I hate most about bison/flex is that they actually generate C/C++ source for you. There are a number of disadvantages to this, e.g. debugging. I like spirit from this point of view, but I find it very very heavy on syntax.
I am curious about what you are using, what you would recommend, and general thoughts about the state of the art in parser generators. I am also curious to hear about approaches being used in other languages for parsing problems.