p
p
r
r
i
i
n
n
t
t
(
(
"
"
h
h
stream of characters
stream of characters
tokens
tokens
scanner
scanner
parser
parser
Abstract Syntax Tree (AST)
Abstract Syntax Tree (AST)
analyser
analyser
annotated AST
annotated AST
generator
generator
ident
ident
lpar
lpar
string
string
comma
comma
add
add
load
load
call
call
print
print
code instructions
code instructions
executor
executor
print("hello", 2+3)
print("hello", 2+3)
hello5
hello5
Text is not SVG - cannot display