Hendrik van Rooyen wrote: > It is my opinion that it is not possible to make a useful machine, > virtual or real, which executes instructions sequentially, if the > instruction set does not contain a conditional jump of some sort. > > I have tried doing it using conditional calls, and it fails on > the equivalent of the first if ..., elif ... you try to write.
I'm 99.99% sure you can implement that by using a decision subroutine that returns subroutine pointers (and maybe parameter pointers), but it certainly won't be efficient on current CPU designs... -- JanC -- http://mail.python.org/mailman/listinfo/python-list