- add tokenizer
- add basic error handling
var a = 1;
var b = 2;
if(a < b) print "a is less than b";
else print "a is >= b";
print "end of program";
var f = 1;
var a = 5;
while(a > 1) {
f = f * a;
a = a - 1;
}
print "factorial: " + f;
var a = 1;
var b = 2;
if(a < b) print "a is less than b";
else print "a is >= b";
print "end of program";
var f = 1;
var a = 5;
while(a > 1) {
f = f * a;
a = a - 1;
}
print "factorial: " + f;