Hello, Today I've released pycparser v1.0 - a C parser written in Python using PLY 2.5. pycparser parses the complete syntax of ANSI C, and generates an AST. Its grammar is based on the grammar provided at the back of K&R2.
pycparser can be dowloaded from: http://code.google.com/p/pycparser/ PLY has been instrumental in the construction of pycparser. It is a great library and I enjoyed using it. pycparser can serve as a relatively complex example of using PLY as it's a parser for a complete, real, programming language, that actually produces a useful AST and can be used as a front-end to a compiler (which is my eventual goal). Eli --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ply-hack" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/ply-hack?hl=en -~----------~----~----~----~------~----~------~--~---
