Semantics-directed machine architecture
Mitchell Wand · ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL) · 1982
We show how to analyze the denotational semantics for a programming language to obtain a compiler and a suitable target machine for the language. We do this by rewriting the equations using suitable combinators. The machine operates by simulating the reduction sequences for the combinator terms. The reduction sequences pass through certain standard forms, which become an architecture for the machine, and the combinators become machine instructions. Despite the abstract nature of its development, the machine greatly resembles a conventional one. The method is illustrated by a simple expression language with procedures and input-output.
Cited by 73 works. doi:10.1145/582153.582179 Open-access PDF
Authors
References
- Denotational semantics: The scott-strachey approach to programming language theory
- A new implementation technique for applicative languages
- The Denotational Description of Programming Languages: An Introduction
- Computing in systems described by equations
- Advice on structuring compilers and proving them correct
- Deriving Target Code as a Representation of Continuation Semantics
- SKIM - The S, K, I reduction machine
- Mathematical semantics and compiler generation
- Compiler generation from denotational semantics
- More on advice on structuring compilers and proving them correct