CS450 Compiler Design
P
M
P
M
Java
P
Bootstrapping an Interpretive Compiler to
Generate M code
Idea: we will build a two-stage Java --> M compiler.
P
JVM
M
Java-->JVM
M
M
JVM-->M
M
We will make this by
compiling
To get this we
implement
JVM-->M
Java
Java-->JVM
JVM
and compile it