Yapps (Yet Another Python Parser System) is an easy to use parser generator that is written in Python and generates Python code.
Yapps is simple, is easy to use, and produces human-readable parsers. It is not fast, powerful, or particularly flexible. Yapps is designed to be used when regular expressions are not enough and other parser systems are too much: situations where you may write your own recursive descent parser.
Here are some key features of "Yapps":
· Yapps produces human-readable recursive descent parsers. There are several heuristics used to keep the generated code simple.
· Yapps produces context-sensitive scanners that pick tokens based on the type of tokens accepted by the parser. In some situations, token matching is ambiguous unless the context is taken into account.
· Yapps rules can pass arguments down to subrules, so subrules can use information (such as declarations) that was parsed at higher levels in the parsing process.
· Python >= 1.5