Re: [RFC] unary operations

2005-04-28 Thread Leopold Toetsch
Leopold Toetsch <[EMAIL PROTECTED]> wrote: I've implemented this part now: > For Python, Lisp and probably more HLLs the same is of course needed for > unary opcodes: >abs Px, Py # use existing abs, Px exists >Px = n_abs Py# create new abs result PMC > This is of cours

[RFC] unary operations

2005-04-22 Thread Leopold Toetsch
All infix operations are now converted to the new scheme. The most visible part of the change is that infix operations now *can* return a new destination PMC: Px = n_add Py, Pz# create new Px as sum(Py, Pz) and that overloaded infix functions have to return the result. For Python, Lisp and