Jeremy Hylton : weblog : 2004-01-05

compiler module needs improvement

Monday, January 05, 2004

A question about the compiler package on comp.lang.python over the weekend and some work I did last month remind me that there are a lot of loose ends. The documentation should be better. It should be easier to compile an AST.

I should write down a long list of other things to do: Incorporate one of the pure-Python parsers so that there's no dependence on the C-Python core. Remove all the code design to support optional nested scopes in Python 2.1. Make it easier to extend various components by subclassing, which requires documenting those pieces that are intended to be used this way.