ACM Home Page
Please provide us with feedback. Feedback
Engineering a simple, efficient code-generator generator
Full text PdfPdf (854 KB)
Source ACM Letters on Programming Languages and Systems (LOPLAS) archive
Volume 1 ,  Issue 3  (September 1992) table of contents
Pages: 213 - 226  
Year of Publication: 1992
ISSN:1057-4514
Authors
Christopher W. Fraser  AT & T Bell Labs, Murray Hill, NJ
David R. Hanson  Princeton Univ., Princeton, NJ
Todd A. Proebsting  Univ. of Arizona, Tucson
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 12,   Downloads (12 Months): 128,   Citation Count: 50
Additional Information:

abstract   references   cited by   index terms   review   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/151640.151642
What is a DOI?

ABSTRACT

Many code-generator generators use tree pattern matching and dynamic programming. This paper describes a simple program that generates matchers that are fast, compact, and easy to understand. It is simpler than common alternatives: 200–700 lines of Icon or 950 lines of C versus 3000 lines of C for Twig and 5000 for burg. Its matchers run up to 25 times faster than Twig's. They are necessarily slower than burg's BURS (bottom-up rewrite system) matchers, but they are more flexible and still practical.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
2
3
 
4
 
5
6
7
 
8
FERDINAND, C., SEIDL, H., AND WILHELM, R. Tree automata for code selection. In Code Generation--Concepts, Tools. Techniques, Proceedings of the International Workshop on Code Generation (DagstuhI, Germany), R. Giegerich and S. L. Graham, Eds. Springer-Verlag, New York, 1991, 30-50.
9
 
10
11
 
12
13
 
14
15
 
16
PELEGRI~-LLOPART, E. Tree transformation in compiler systems. Ph.D. thesis, Computer Science Division, Dept. of Electrical Engineering and Computer Science, Univ. of California, Berkeley, Calif., Dec. 1987.
17
18
 
19
STANDARDS PERFORMANCE EVALUATION CORP. SPEC Benchmark Suite Release 1.0. Standards Performance Evaluation Corp., Oct. 1989.

CITED BY  50


REVIEW

"Robert Ballance : Reviewer"

Unlike papers that focus on the theory of pattern matching or its application to code generation, this paper focuses on engineering the pattern matcher. The paper will interest programmers confronted with time or space requirements as well   more...

Collaborative Colleagues:
Christopher W. Fraser: colleagues
David R. Hanson: colleagues
Todd A. Proebsting: colleagues