pyPEG

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, or, as an alternative, XML.

Last announcement

pyC11 is a grammar to parse programs in the C programming language following ISO/IEC 9899:2011. It is written using pyPEG, a parsing framework for Python. The grammar supports Python 2.7 and 3.x. The test bench requires py.test.
This is an initial upload. The grammar is incomplete. Parsing C expressions works, but parsing complete C programs does not work yet.
The Freecode page: https://freecode.com/projects/pyc11
The Bitbucket repository: https://bitbucket.org/fdik/pyc11

Release Notes: Implements a portable way to have new style function declarations without syntax errors in Python 2.7. Extends the synopsis of the csl() function. Minor documentation enhancements. Code cleanup.