From AST to bytecode execution in EndBASIC
Since its inception two years ago, the EndBASIC interpreter has been using an AST-based execution
engine. And during all this time, people have mocked the language for not allowing 10 GOTO 10.
Well, fear not: the upcoming 0.10 release has full support for GOTO and GOSUB, features that
were made possible by moving to a bytecode-based interpreter. Let’s take a peek at what the
problems were and how I addressed them.