So the RPython compiler reuses interpreter code from PyPy to perform bytecode 
interpretation on the objects that the were given it by the standard CPython 
dis module? Namely I'm thinking of the bits that handle branching code, where 
the interpreter must effectively take both branches at once. 

If I'm not mistaken, the PyPy VM uses a superset of the CPython bytecodes. Does 
that mean that RPython can perform translation either on bytecodes emitted by 
CPython or by PyPy? 

Alex


On Dec 9, 2011, at 7:17 PM, Benjamin Peterson wrote:

> 2011/12/9 Alexander Golec <[email protected]>:
>> I guess that's bugging me is where does the flow object space live? It is in 
>> RPython or the PyPy interpreter?
> 
> The flow space is not RPython. It's in pypy/objspace/flow
> 
>> Also, does RPython exist as a standalone thing, i.e. can I say 'rpython 
>> something.py' and get a translation?
> 
> Yes and no. You have to create a target*.py . Look in
> pypy/translator/goal for examples.
> 
> 
> -- 
> Regards,
> Benjamin

_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to