Parsing C Preprocessor files

Edward C. Jones edcjones at
Wed Jun 23 15:56:40 CEST 2004

Bram Stolk wrote:
> Hi there,
> What could I use to parse CPP macros in Python?
> I tried the Parnassus Vaults, and python lib docs, but could not
> find a suitable module.

I wrote a program called SeeGramWrap. It uses Java and ANTLR to parse
C files. See

More information about the Python-list mailing list