ACM Home Page
Please provide us with feedback. Feedback
Alternating semantic evaluator
Full text PdfPdf (381 KB)
Source ACM Annual Conference/Annual Meeting archive
Proceedings of the 1975 annual conference table of contents
Pages: 230 - 234  
Year of Publication: 1975
Authors
Sponsor
ACM: Association for Computing Machinery
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 1,   Downloads (12 Months): 6,   Citation Count: 19
Additional Information:

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

ABSTRACT

In order to make the use of attribute grammars practical in (automatic) compiler generation, restricted attribute grammars are introduced. A membership test is given which determines whether a given attribute grammar satisfies the required restrictions. The major advantage of the restricted attribute grammars is that they are non-circular. The given membership test can be embedded in a compiler writing system which accepts an attribute grammar as input and outputs a compiler for the associated language provided the grammar meets the restrictions. The technique is also applicable to translation grammars of [15]. It is assumed that the reader is familiar with context free grammars but not necessarily with attribute grammars.


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
D. E. Knuth, Semantics of Context Free Languages, Mathematical Systems Theory, vol. 2, no. 2, June 1968, 127-145; also see correction, vol. 5, no. 1, March 1971, 95-96.
 
2
W. T. Wilner, Formal Semantic Definition Using Synthesized and Inherited Attributes, in R. Rustin, ed., Formal Semantics of Programming Languages, Prentice Hall, New Jersey, 1972, 25-40.
 
3
T. W. Dreisbach, A Declarative Semantic Definition of PL360, Computer Science Department Report UCLA-ENG-7289, UCLA, 1972.
 
4
S. R. Petrick, Semantic Interpretation in the REQUEST System, Research Report RC 4457, IBM, July 1973.
5
6
 
7
8
 
9
I. Fang, Folds, a Declarative Formal Language Definition System, Computer Science Department Reprot, STAN-CS-72-329, Stanford University, December 1972.
 
10
G. V. Bochmann, Semantics Evaluated From Left to Right, Département d'Informatique, Publication no. 135, Université de Montréal, June 1973.
 
11
G. V. Bochmann, Semantic Equivalence of Syntactically Related Attribute Grammars, Département d'Informatique publication no. 148, University sité de Montréal. November 1973.
 
12
D. E. Knuth, Examples of Formal Semantics, in Lecture Notes in Mathematics no. 188, Springer Verlag, Berlin, 1971, 212-235.
 
13
A. V. Aho and J. D. Ullman, Translations on a Context Free Grammar, Information and Control, vol. 19, no. 5, December 1971, 439-475.
14
 
15
P. M. Lewis II, D. J. Rosenkrantz and R. E. Stearns, Attributed Translations, Journal of Computer and System Science, vol. 9, no. 3, December 1974, 279-307.
 
16
J. Kelleher, F. McGriff and D. Pozefsky, COMP 145 Project Report, Computer Science Department, University of North Carolina, Spring 1975.

CITED BY  19

Collaborative Colleagues:
Mehdi Jazayeri: colleagues
Kenneth G. Walter: colleagues