lemon

LALR(1) parser generator for creating compilers and interpreters

brewmacoslinux
Try with needOr install directly
Source

About

LALR(1) parser generator like yacc or bison

Commands

lemon

Examples

Generate a parser from a grammar file$ lemon mygrammar.y
Generate parser with custom template file$ lemon -T/path/to/template.c mygrammar.y
View parser statistics and conflicts$ lemon -r mygrammar.y && cat mygrammar.out