E-Book, Englisch, Band 19, 147 Seiten, eBook
Reihe: Monographs in Theoretical Computer Science. An EATCS Series
Tofte Compiler Generators
Erscheinungsjahr 2012
ISBN: 978-3-642-61504-7
Verlag: Springer
Format: PDF
Kopierschutz: 1 - PDF Watermark
What They Can Do, What They Might Do, and What They Will Probably Never Do
E-Book, Englisch, Band 19, 147 Seiten, eBook
Reihe: Monographs in Theoretical Computer Science. An EATCS Series
ISBN: 978-3-642-61504-7
Verlag: Springer
Format: PDF
Kopierschutz: 1 - PDF Watermark
The OrIgIn of this monograph is a course entitled "Semantics directed Compiler Generation" which Professor Neil D. Jones gave in 1982 at Copenhagen University, where I was a student at the time. In this course, he described a compiler generator, called CERES, which he was developing. I immediately felt attracted to the unusual combination of mathematical reasoning about com pilers and the small intricate building blocks that made up the running system. As I came to understand the system I discovered that within the existing mathematical framework one could express compiler generation as a special case of compilation; this led to a specification of a compiler generator which was bootstrapped on itself resulting in a machine-generated compiler generator. The purpose of this monograph is to describe the CERES system we produced in 1983-84 and compare it with other systems, includ ing more recent ones. Also, it is as relevant today as it was then to discuss the role of compiler generators as an aid in the design and implementation of programming languages; this I do in Chap. 5. This monograph is a strongly revised version of the cando scient.
Zielgruppe
Research
Autoren/Hrsg.
Weitere Infos & Material
1 Introduction.- 1.1 The Scope of This Monograph.- 2 Report on the Compiler Generator CERES.- 2.1 Overview of CERES.- 2.2 Description of Input to CERES.- 2.3 The Object Language T.- 2.4 The Compilers Generated by CERES.- 2.5 The Compiler Generator.- 2.6 Implementation and Experience.- 3 Compiler Generation, Composability, and Self-composability.- 3.1 Programming Languages and Compilers.- 3.2 The Compiler Generation Problem.- 3.3 Using a Semantic Language to Define Programming Languages.- 3.4 Composability and Self-composability.- 4 Discussion of Technical Aspects of Compiler Generation.- 4.1 The Algebraic Connection.- 4.2 On Choosing Good Semantic Languages.- 4.3 Interface Problems.- 5 On Semantics, Compiler Generation, and Hacking.- 5.1 On the Nature of Machine-Readable Language Definitions.- 5.2 On Writing Language Definitions.- 5.3 On the Role of Mathematical Proofs.- Appendix 1 The LOOP Interpretation.- Appendix 4 The SelfComposer.- References.- Table of Symbols and Their Meanings.