Parsing C Preprocessor files

Edward C. Jones edcjones at erols.com
Wed Jun 23 09:56:40 EDT 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

http://members.tripod.com/~edcjones/SeeGramWrap.2004.03.03.tar.gz



More information about the Python-list mailing list