November 15, 2008 at 17:47 Tags Compilation , Python

I'm happy to announce that I've finally released version 1.0 of pycparser - a complete ANSI C parser written in Python. It generates a complete AST from C code, and thus can serve as a front-end for a C compiler, or as a platform for static code analysis of C.

pycparser uses PLY to construct the lexer and the parser for the C language. At the moment it supports ANSI C89 (the language described in K&R2;).