Python "byte code" description

Greg Ewing see_reply_address at something.invalid
Sun Dec 8 21:28:50 EST 2002


Grant Edwards wrote:

> IMO, a more interesting (from a geek/CS POV) project would be somebody who
> wants to write a compiler for a different language that generates bytecode
> that would be executed by they Python VM


You'd probably find it easier to translate the other language
into Python source and compile it with the Python compiler.

That solution would also have the advantage of not breaking
the next time the bytecode format changes.

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg




More information about the Python-list mailing list