Parsing Python question (newbie)

Loki Patrick loki at cs.usyd.edu.au
Wed Sep 5 19:39:41 EDT 2001


Hi, I've been toying with writing a parser (in Python) for Python.
Has someone already done this?

A .py to .pyc compiler would be nice. I know there is some kind
of parser generator written in C bundled with Python, but
does it produce recursive descent parsers, or table driven?
I'd prefer recursive descent for reasons of readability.

Any help would be appreciated.

Loki




More information about the Python-list mailing list