- Implement string literal tokenization and parsing (lexer + parser) - Add string concatenation with + operator in evaluator - Add println keyword for printing with newline - Add NODE_IF evaluation in VM - Fix null terminator bug in string concat buffer
12 lines
108 B
Plaintext
12 lines
108 B
Plaintext
x = 0
|
|
while x < 10:
|
|
x = x + 1
|
|
|
|
if x > 9:
|
|
println "fin"
|
|
|
|
|
|
x = "a"
|
|
y = x * 1
|
|
z = y + 2
|
|
println "a" + z |