Dan Sugalski wrote:
At 7:43 PM +0200 7/14/04, Leopold Toetsch wrote:

Dan Sugalski <[EMAIL PROTECTED]> wrote:

 Okay, here's a really, really evil idea. (And yes, bluntly, it's
 triggered by the pie-thon bytecode translator's needs) I need a
 stack,


Do you? I've converted all stack stuff at compile time, till now. I
don't see the point, why this might not work for all opcodes.


There's the issue of basic block analysis which,

AFAIK not. The branch opcodes have a POP_TOP to get rid of the TOS, when its not consumed by the compare. I've no indication so far, that this is a problem. Please look (again) at pie-thon.pl. Check the code in CVS. Look at the tests. A lot is already there. Function calls (_VAR, _KW) need work *and* classes, objects, classes, objects ... Did I already mention objects?


leo



Reply via email to