Software Practice and Experience · 1991 · 68 citations · 14 references
ComputingComputer EngineeringComputer ScienceCompilersComputer ArchitectureProgramming LanguagesAbstract Syntax TreesCode GenerationCompiler Back EndsCompiler ConstructionControl-flow AnalysisData-flow AnalysisCompiler Backend DesignCompiler SupportInterface GenerationRetargetable Code Generation
Abstract 1cc is a retargetable, production compiler for ANSI C; it has been ported to the VAX, Motorola 68020, SPARC, and MIPS R3000, and some versions have been in use for over a year and a half. It is smaller and faster than generally available alternatives, and its local code is comparable. This paper describes the interface between the target‐independent front end and the target‐dependent back ends. The interface consists of shared data structures, a few functions, and a dag language. While this approach couples the front and back ends tightly, it results in efficient, compact compilers. The interface is illustrated by detailing a code generator that emits naive VAX code.
14
The programming language oberon
Software Practice and Experience · 1988 · 209 citations
Richard Stallman · 1998 · 185 citations
A retargetable compiler for ANSI C
Christopher W. Fraser · ACM SIGPLAN Notices · 1991 · 102 citations · Full text