An alternative to flex and bison duo?

Tag: compiler Author: mysound Date: 2009-12-21

Is there any alternative to flex and bison (lex/yacc) combo? Any other tools that let specify a language grammar in BNF?

Thank you Eddie and Mitch.

Best Answer

A couple of options:


If you're using C++, Boost::Spirit:


I really like Boost::Spirit's approach to this problem. I won't even have to leave Visual Studio :)

Other Answer1

There's ANTLR