tags:

views:

94

answers:

2

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

+2  A: 

A couple of options:

Antlr: http://www.antlr.org/

If you're using C++, Boost::Spirit: http://www.boost.org/doc/libs/1_41_0/libs/spirit/doc/html/index.html

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

There's ANTLR

Mitch Wheat