Tiny Basic Interpreter...
class TBinterpreter { ...
void interpret() {
while (true) {
stopped = false;
if (doing>0) {
doing = Code.getNextLineNum(doing);
if (doing==0) {
error("Program ended");
continue;}} // if(doing>0)
else if (Code.putLine(
InOut.getLine())>0) continue;
Code.setLineNum(doing);
statement();}} // interpret