“A portable compiler: theory and practice”的版本间的差异
来自Dennis的知识库
Dennis zhuang(讨论 | 贡献) |
Dennis zhuang(讨论 | 贡献) |
||
第13行: | 第13行: | ||
[[文件:Amsterdam_compiler_kit.png]] | [[文件:Amsterdam_compiler_kit.png]] | ||
+ | |||
+ | == The preprocessor == | ||
+ | |||
+ | * extend all the program- ming languages by adding certain generally useful facilities to them in a uniform way. One of these is a simple macro system, | ||
+ | * Another useful facility provided by the preprocessor is the ability to include compile-time libraries. | ||
+ | * A third feature of the preprocessor is conditional compila- tion. |
2017年5月8日 (一) 08:18的版本
Overview of the amsterdam compiler kit
The tool kit consists of eight components:
• The preprocessor • The front ends • The peephole optimizer • The global optimizer • The back end • The target machine optimizer • The universal assembler/linker • The utility package
The preprocessor
- extend all the program- ming languages by adding certain generally useful facilities to them in a uniform way. One of these is a simple macro system,
- Another useful facility provided by the preprocessor is the ability to include compile-time libraries.
- A third feature of the preprocessor is conditional compila- tion.