1

Are there any Parsing Expression Grammar (PEG) C++ libraries for Windows? I've tried in vain to compile pegc/legc, pegc with MS Visual Studio. :(

anhldbk
  • 4,559
  • 5
  • 29
  • 37

2 Answers2

0

I have had good luck with Boost.Spirit.Qi, which should work reasonably well with recent versions of the Microsoft compiler. Be forewarned, though: there is a learning curve.

If you just want a parser generator, also have a look at this related question: Is the ANTLR parser generator best for a C++ app with constrained memory?

Community
  • 1
  • 1
phooji
  • 10,086
  • 2
  • 38
  • 45
0

Try to use a search engine. You will find a wiki page about PEGs and there you will find a list of libraries implementing PEGs. One of them is Boost.Spirit.

wilx
  • 17,697
  • 6
  • 59
  • 114
  • I've already known it. But it's hard to understand Boost.Spirit in an afternoon. :( Anyway, thank you! – anhldbk Mar 04 '11 at 10:01