'''Y'''et anoth'''E'''r '''T'''cl '''I'''nterpreter - Generate an itcl parser for a BNF-like grammar * What: Yeti * Where: http://www.fpx.de/fp/Software/Yeti/ * Description: Yeti allows you to create a parser via Tcl. You specify a grammar in a form similar to the BNF (Backus-Naur Form) and define Tcl scripts that are executed whenever a rule is matched. Generates an itcl parser to recognise the BNF. * Depends on Tcl/[itcl]/[tcllib]. * Currently at version 0.2. * Updated: 12/2001 * Contact: mailto:fp@fpx.de ([Frank Pilhofer]) ---- [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] ]]