ACM Transactions on Programming Languages and Systems · 1980 · 128 citations · 16 references
ComputingComputer EngineeringComputer ScienceCompilersComputer ArchitectureSoftware EngineeringAbstract Syntax TreesCode GenerationCompiler Back EndsCompiler ConstructionLexical AnalysisParsingCompiler DesignGeneratorsMachine Code Generation
Work with compiler compilers has dealt principally with automatic generation of parsers and lexical analyzers. Until recently, little work has been done on formalizing and generating the back end of a compiler, particularly an optimizing compiler. This paper describes formalizations of machines and code generators and describes a scheme for the automatic derivation of code generators from machine descriptions. It was possible to separate all machine dependence from the code generation algorithms for a wide range of typical architectures (IBM-360, PDP-11, PDP-10, Intel 8080) while retaining good code quality. Heuristic search methods from work in artificial intelligence were found to be both fast and general enough for use in generation of code generators with the machine representation proposed. A scheme is proposed to perform as much analysis as possible at code generator generation time, resulting in a fast pattern-matching code generator. The algorithms and representations were implemented to test their practicality in use.
16
Edward S. Lowry, C. W. Medlock · Communications of the ACM · 1969 · 229 citations · Full text
On formalised computer programs
D Luckham, D.M.R. Park, Mike Paterson · Journal of Computer and System Sciences · 1970 · 222 citations
Jerome A. Feldman, David Gries · Communications of the ACM · 1968 · 199 citations · Full text
A new method for compiler code generation
R. Steven Glanville, Susan L. Graham · 1978 · 177 citations
An Overview of the Production-Quality Compiler-Compiler Project
Leverett, Cattell, Hobbs et al. · Computer · 1980 · 134 citations