CS450 Compiler Design
65
Full Bootstrap
Ada-S-->
M
Ada-S
v2
Step 2a:
Implement v2 of Ada-S compiler in Ada-S
Ada-S-->
M
Ada-S
v2
M
M
Ada-S-->
M
v2
Step 2b:
Compile v2 compiler with v1 compiler
Ada-S-->
M
M
v1
Q:
Is it hard to rewrite the compiler in Ada-S?
We are now no longer dependent on
the availability of a C compiler!