Software Practice and Experience · 1991 · 22 citations · 9 references
ComputingComputer EngineeringComputer ScienceCompilersComputer ArchitectureProgramming LanguagesAbstract Syntax TreesCode GenerationCompiler ConstructionData-flow AnalysisLookup TablesSoftware ConstructionAbstract Syntax Tree CompressionAbstract Syntax Tree GenerationBottom-up Rewrite SystemsOptimal Code GenerationRewrite Systems
Abstract Code generators based on bottom‐up rewrite systems (BURS) are automatically generated from machine‐description grammars. They produce locally optimal code for expression trees, but their tables are large and require compile‐time interpretation. This paper describes a program that compiles BURS tables into a combination of hard code and data. Hard‐coding exposed important opportunities for compression that were previously hidden in the tables, so the hard‐coded code generators are not just faster but also significantly smaller than their predecessors. A VAX code generator takes 21.4Kbytes and identifies optimal assembly code in about 50 VAX instructions per node.
9
Christoph M. Hoffmann, Michael J. O’Donnell · Journal of the ACM · 1982 · 440 citations · Full text
An improvement to bottom-up tree pattern matching
David Chase · 1987 · 90 citations · Full text
Thomas J. Pennello · 1986 · 43 citations
Tree templates and subtree transformational grammars.
Hans H. Kron · 1975 · 37 citations