Open mikaelpatel opened 8 years ago
And do not recursively call execute().
Adding a return address stack will also allow yield() to be implemented as a return from execute() will ip on stack. This will require a resume() function to pop the ip and continue the interpreter.
And do not recursively call execute().
Adding a return address stack will also allow yield() to be implemented as a return from execute() will ip on stack. This will require a resume() function to pop the ip and continue the interpreter.