diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-02-04 19:37:35 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-02-04 19:37:35 (GMT) |
commit | 0fdffcf9163c7d5dd18f74f7fad50d42fec60c3d (patch) | |
tree | 5e7f4aa2f89a510b3821f27ff828ae47abb0fc30 /Modules | |
parent | 1fdae12c93246fcf4abbf882ba08df789070dfcc (diff) | |
download | cpython-0fdffcf9163c7d5dd18f74f7fad50d42fec60c3d.zip cpython-0fdffcf9163c7d5dd18f74f7fad50d42fec60c3d.tar.gz cpython-0fdffcf9163c7d5dd18f74f7fad50d42fec60c3d.tar.bz2 |
rapid evolution towards producing real .pyc files (even though I don't
handle most of the language syntax yet)
create NestedCodeGenerator used to generator the separate code object
that needs to be passed as an argument to MAKE_FUNCTION when a def
stmt is found (probably useful for class too)
change CodeGenerator.visitFunction to use the NestedCG
add CompiledModule class to handle creation of .pyc (pretty minimal
for now)
add makeCodeObject method to PythonVMCode that replaces symbolic names
with indexes into slots of the code code. the design of this
class will probably need to be revised.
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions