Version 15 of Yeti

Updated 2002-07-18 18:45:54

Yet anothEr Tcl Interpreter - Generate an itcl parser for a BNF-like grammar


CMCc: Converted a YACC grammar to Yeti. It's a really great program - well written and very capable. I'm running into problems, though: how do I use Yeti to parse ambiguous grammars? Yeti doesn't seem to have any equivalent to YACC's %precedence or associativity operators, so it's hard to get it to parse something like `(a * b + x * y)' as ((a *b) + (x * y))

AK: I don't know what Yeti does internally, LL(1), LR(1), LALR(1), ... It might be necessary to disambiguate the grammar to deal with such constructions.


[ Category Package | Category Acronym ]