SPARK v.s. PLY

Tran Tuan Anh anhtt at hotmail.com
Thu Nov 18 09:48:33 EST 2004


Hi all, 

I am searching for a suitable parsing tool to parse C++ for a research
project.
Actually I am parsing SystemC, it is a C++ lib with some macros, hence
I need to modify the grammar a little bit to handle some new keywords.

I need to construct the Control Flow Graph and play around with it a
bit.
So far, I have found SPARK and PLY that seem to be suitable to my
task. Other packages are either not so well established or not so well
tested and documented. (Please correct me if I am wrong).

If you know the parsing stuff well, could you briefly tell me the
pros. and cons. of those packages? (or some others you find good too)

Thanks a lot!
Tuan-Anh



More information about the Python-list mailing list