pyPEG is a quick and easy solution for creating a parser in Python programs. pyPEG uses a PEG language in Python data structures to parse, so it can be used dynamically to parse nearly every context free language. The output is a plain Python data structure called pyAST.
License: GNU General Public License v2
Changes:
pyPEG now optionally generates the positions of the parsed symbols in the source text into the generated pyAST, so you can, for example, have line numbers in warnings and errors in your backend in addition to the line numbers of syntax errors that pyPEG creates.
More...