摘要
This paper generalizes an algebraic method for the design of a correct compiler to tackle specification and verification of an optimized compiler. The main optimization issues of concern here include the use of existing contents of registers where possible and the identification of common expressions. A register table is introduced in the compiling specification predicates to map each register to an expression whose value is held by it. We define different kinds of predicates to specify compilation of programs, expressions and Boolean tests. A set of theorems relating to these predicates, acting as a correct compiling specification, are presented and an example proof within the refinement algebra of the programming language is given. Based on these theorems, a prototype compiler in Prolog is produced.
| 源语言 | 英语 |
|---|---|
| 页(从-至) | 643-658 |
| 页数 | 16 |
| 期刊 | Formal Aspects of Computing |
| 卷 | 6 |
| 期 | 6 |
| DOI | |
| 出版状态 | 已出版 - 12月 1994 |
| 已对外发布 | 是 |
指纹
探究 'Specification, Verification and Prototyping of an Optimized Compiler' 的科研主题。它们共同构成独一无二的指纹。引用此
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver