ACM Home Page
Please provide us with feedback. Feedback
Description-driven code generation using attribute grammars
Full text PdfPdf (989 KB)
Source Annual Symposium on Principles of Programming Languages archive
Proceedings of the 9th ACM SIGPLAN-SIGACT symposium on Principles of programming languages table of contents
Albuquerque, New Mexico
Pages: 108 - 119  
Year of Publication: 1982
ISBN:0-89791-065-6
Authors
Mahadevan Ganapathi  University of Wisconsin --- Madison
Charles N. Fischer  University of Wisconsin --- Madison
Sponsor
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 3,   Downloads (12 Months): 17,   Citation Count: 10
Additional Information:

abstract   references   cited by   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/582153.582165
What is a DOI?

ABSTRACT

The instruction-set of a target architecture is represented as a set of attribute-grammar productions. A code generator is obtained automatically for any compiler using attributed parsing techniques. A compiler built on this model can automatically perform most popular machine-dependent optimizations, including peephole optimizations. The code generator is also easily retargetable to different machine architectures.


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
{Dijkstra 60} E.W. Dijkstra, "Algol 60 Translation", Supplement, Algol 60 Bulletin 10, 1960.
 
4
5
6
 
7
 
8
{Ganapathi 81a} M. Ganapathi and C.N. Fischer, "A Review of Automatic Code Generation Techniques", Technical Report #407, Computer Sciences Department, University of Wisconsin --- Madison, 1981.
 
9
{Ganapathi 81b} M. Ganapathi, C.N. Fischer, S.J. Scalpone and K.C. Thompson, "Linear Intermediate Representation for Portable Code Generation", Technical Report #435. Computer Sciences Department, University of Wisconsin --- Madison, 1981.
 
10
{Ganapathi 81c} M. Ganapathi and J.R. Goodman, "Compiler and Operating System requirements for 16-bit Microcomputer Architectures: Intel 8086, Zilog Z8000 and Motorola MC68000", Technical Report #452, Computer Sciences Department, University of Wisconsin --- Madison, 1981.
11
 
12
{Graham 80} S.L. Graham, "Table-Driven Code Generation", IEEE Computer, Vol. 13 No. 8 pp. 25--34, Aug. 1980.
 
13
14
 
15
{Johnson 75} S.C. Johnson "YACC --- Yet Another Compiler Compiler". C.S. Tech Report #32, Bell Telephone Laboratories, Murray Hill, New Jersey, 1975.
 
16
{Knuth 68} D.E. Knuth, "Semantics of Context-Free Languages", Math. Systems Theory, Vol. 2 No. 2 pp. 127--145, June 1968.
 
17
 
18
19
 
20
21
 
22
{Newell 69} A. Newell and G.W. Ernst, "GPS: A Case Study in Generality and Problem Solving", Academic Press, 1969.
 
23
{Raiha 80} K.J. Raiha, "Bibliography on Attribute Grammars", ACM Sigplan Notices, Vol. 15 No. 3 pp. 35--44, Mar 1980.
 
24
{Ripken 77} K. Ripken, "Formale Beschreibun von Maschinen, Implementierungen und Optimierender Maschinen-codeerzeugung aus Attributierten Programmgraphe", Technische Univer. Munchen, Munich, Germany, July 1977.
 
25
 
26
{Robertson 77} E.L. Robertson, "Code Generation for Short/Long Address Machines", Tech. Report, Computer Sciences Dept., University of Wisconsin-Madison, 1977.
27
28
 
29
{Watt 74} D.A. Watt, "L.R. Parsing of Affix Grammars", PhD thesis, University of Glasgow, Report #7, 1974.
 
30
{Watt 77} D.A. Watt, "The Parsing Problem for Affix Grammars", Acta Informatica, Springer Verlag, 1977.
 
31
 
32
{Wulf 80} W. Wulf et al., "An Overview of the Production-Quality Compiler-Compiler Project", IEEE Computer Vol. 13 No. 8 pp. 38--49, Aug. 1980.
 
33
{Wulf 81a} W. Wulf, personal communication.
 
34
{Wulf 81b} W. Wulf, "Compilers and Computer Architecture", IEEE Computer, July 1981.

CITED BY  10
Collaborative Colleagues:
Mahadevan Ganapathi: colleagues
Charles N. Fischer: colleagues