A Python module for writing context-free grammar parsers. Implements Earley shared packed parse forests and look-ahead LR parsing. Has multiple lexers. Builds parse trees automatically. Pure Python. Can generate stand-alone parsers as well. Acts more like a traditional parser than a new-school parser.
Outputs Tree() objects, Token(<type>, 'text') objects.
The default parser and lexer that comes with python. Useful for writing minilanguages and DSLs. Maybe useful if I can figure out how to use it.
3722 links, including 192 private