I think it's coming together now, then. So then the code for object spaces are shared between PyPy and the RPython compiler, as is the code for abstract interpretation? The thing that triggered this was me wondering what does the interpretation of the bytecodes, but I'm guessing its the shared interpretation code?
Alex On Dec 9, 2011, at 7:38 PM, Benjamin Peterson wrote: > 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
