Parsing Python question (newbie)

Loki Patrick loki at
Thu Sep 6 01:39:41 CEST 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.


More information about the Python-list mailing list