

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Compilation Issues
Bootstrapping
Testing and Maintenance
Source Language
Target Language
Performance Criteria
Size of the language
Stability of the language
Maturity of the architecture
Design of the intermediate language
Compiler Speed
Generated Code Quality
รฑ
speed, code size, power consumption
Error Diagnostics
Portability
รฑ
retargetability
รฑ
rehostability
Maintainability
Bootstrapping involves using the facilities of thesource language to compile the compiler.
A compiler is characterized by three languages.
Can be represented with a T diagram. Or with text: S
A cross compiler runs on one machine andproduces target code for another machine.
Example: A cross compiler that compileslanguage L, is written in language L, andproduces code for machine N. An existingcompiler compiles language L, executes onmachine M, and generates code for machine M.
Can write a simple compiler that consists of asubset S of L that executes on machine M andproduces code for machine M. We can then usethis subset S to write a compiler that compiles Linto M code.