Lex/Yacc based lattice parser.