compiling to python byte codes

Maurice LING mauriceling at acm.org
Fri Sep 3 01:12:30 CEST 2004


Hi Leif,

Leif K-Brooks wrote:

> Maurice LING wrote:
> 
>> Or is there any documentation or books that is the python equivalent 
>> of "Programming for the Java Virtual Machine" by Joshua Engel?
> 
> 
> Python's byte code isn't very stable, so you might have to recreate your 
> entire code base with every new Python version. I would suggest 
> generating Python code (not byte code) instead and compiling that.

So are you suggesting that say I want to write a compiler to compile 
Pascal to Python Virtual Machine, it will be wiser to do source code 
conversion from Pascal to Python?

maurice



More information about the Python-list mailing list