On 9/11/2013 4:53 PM, M.-A. Lemburg wrote: > You might want to have a look at this paper which discussed > AST compression (for Java, but the ideas apply to Python just > as well): > > http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.135.5917&rep=rep1&type=pdf The prototype implementation is written in Python! (p.3, right). -- Terry Jan Reedy