2011/12/9 Alexander Golec <[email protected]>:
> 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.

Yes. The interpreter pulls the strings of a flow space.

>
> 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?

It's not a superset; it's a slight variant. But, yes, that's what
happens when translating on CPython in fact.



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

Reply via email to