mikaelpatel / Arduino-Shell

RPN Postscript/Forth Command Shell for Arduino
19 stars 5 forks source link

Performance: Add return address stack #49

Open mikaelpatel opened 8 years ago

mikaelpatel commented 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.