Python modules for C tokenizing and parsing?
Skip Montanaro
skip at pobox.com
Mon Dec 30 15:03:12 EST 2002
Edward> Has anyone written Python modules that tokenize C code and parse
Edward> it?
Check out John Aycock's SPARK toolkit. In his comments he mentions:
I've used it for a compiler for Guide, compiling a subset of Java, an
experimental type inferencer for Python, and probably a few other things
I've forgotten.
The "compiling a subset of Java" suggests he may have enough there to
tokenize C and parse a fair subset of the language.
Skip
More information about the Python-list
mailing list