[pypy-dev] PyVM: Python Bytecode interpreter, in Python

Paul Swartz z3p at twistedmatrix.com
Mon Jan 13 02:58:30 CET 2003

On 13 Jan 2003 at 2:11, Christian Tismer wrote:

> You are not trying to implement the basic stuff,
> but you borrow it from the Python interpreter,
> like print. You are also borrowing lists, tuples
> and dicts, the interpreter is just a mapping of
> bytecodes to builtin actions.
> That's fine to start with!

Yes, ATM I borrow lists, tuples, and dicts, but 
once I work out new-style classes, I think I'll 
wrap them and everything in a generic PyObject 
class, to make them behave like Objects do now.

> I saw a generator class, at least. This is just
> not working, right? I had only five minutes yet
> to read it.

Yes, there's a Generator class, but I've had some 
trouble getting them implemented, so the test for 
them and the code that would create them is 

     Paul Swartz
(o_  http://twistedmatrix.com/users/z3p.twistd/
//\  z3p at twistedmatrix.com
V_/_ AIM: Z3Penguin

More information about the Pypy-dev mailing list