[Compiler-sig] Python Bytecode
Jeremy Hylton
jeremy@cnri.reston.va.us
Wed, 5 Apr 2000 12:34:02 -0400 (EDT)
>>>>> "GvR" == Guido van Rossum <guido@python.org> writes:
GvR> Also, get Jeremy Hylton's compiler (see this sig's homepage or
GvR> archives), he has routines for generating Python bytecode files
GvR> written in Python.
The code I have generates code objects using the new module, then
puts the code objects into a pyc file using the marshal module.
This approach only works if you already have a Python interpreter with
access to these modules. It sounds like the JPython code is a better
place to start.
Jeremy