pycparser is a complete parser for the C language, written in pure Python. It is a module designed to be easily integrated into applications that need to parse C source code. The following are some uses for pycparser, taken from real user reports: C code obfuscator Front-end for various specialized C compilers Static code checker Automatic unit-test discovery Adding specialized extensions to the C language http://code.google.com/p/pycparser/ http://code.google.com/p/pycparser/downloads/detail?name=pycparser-2.03.zip
I just added it to the tree.