What parser generator do you recommend
Posted
by stefan.ciobaca
on Stack Overflow
See other posts from Stack Overflow
or by stefan.ciobaca
Published on 2009-01-09T17:11:00Z
Indexed on
2010/04/02
16:13 UTC
Read the original article
Hit count: 490
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.
© Stack Overflow or respective owner