I\'m looking for a way to get Flex/Bison (or Lex/Yacc, et. al.) support in PHP. Specifically, I\'m implementing a boolean query parser in a web UI and would rather keep all ope
The PEAR library has the classes LexerGenerator and ParserGenerator. The LexerGenerator syntax is compatible with re2c, ParserGenerator syntax is compatible with the Lemon Parser generator.