commit | 53187f32ebbb6156fa8e3ddf834dfde74cfa3208 | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Tue Feb 08 19:01:29 2000 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Tue Feb 08 19:01:29 2000 +0000 |
tree | de9996353e090d4a20420bd89f7d78bbfaf4a465 | |
parent | aa9d2d6123a54dc1ed7f782fc935abcfadb54167 [diff] |
now produces valid pyc files for a least a trivial subset of the language. CodeGenerator: * modify to track stack depth * add emit method that call's PythonVMCode's makeCodeObject * thread filenames through in hackish way * set flags for code objects for modules and functions XXX the docs for the flags seem out of date and/or incomplete PythonVMCode: * add doc string describing the elements of a real code object LineAddrTable: * creates an lnotab (no quite correctly though)