| 摘要: |
| 本文介绍一个自动编译系统ACS。对某上下文无关文法语言,写出其词法描述、语法描述、语义描述和目标机描述。ACS系统可以自动生成此语言在目标机上的编译程序。ACS系统由六个子模块组成:词法自动生成器、语法自动生成器、语义自动生成器、中间语言转换程序、优化程序和代码自动生成器。本文将分别讨论这六个子模块的原理和功能,还将给出用ACS系统生成的一个编译程序实例—Mini_Ada编译程序。 |
| 关键词: |
| DOI: |
| 分类号: |
| 基金项目:中国科学院院内基金资助项目 |
|
| A AUTOMATIC COMPILER GENERATION SYSTEM ACS |
|
Cheng Hu,Li Aiwu
|
| Abstract: |
| In this paper, we introduce a compiler generation system-ACS. ACS can automaticly generate a compiler of a programming language by input the programming language s lexical description, syntax description, semantic description and target machine description. |
| Key words: |