Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

An alternative to flex and bison duo?

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

like image 575
Marcin Seredynski Avatar asked Jan 07 '10 02:01

Marcin Seredynski


1 Answers

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

like image 149
Eddie Parker Avatar answered Sep 22 '22 14:09

Eddie Parker