|
ABSTRACT
Aparse is a flexible and modular system for generating efficient one-pass compilers from attributed grammar specifications. The system is of particular interest in that it combines recent research in attributed parsing and error-correction into a powerful and practical tool. It has been amply demonstrated that attributed grammars are a convenient mechanism for organizing translations ([Fan 72], [LRS 74], [Bra 76]). This is partially due to the fact that an attributed grammar is not a completely formal specification tool—it merely provides a framework for structuring a semantic and syntactic specification. A number of compiler-compilers have been written to process attributed grammars ([LB 74], [BW 78], [GRW 77]), but Aparse is unique in incorporating attribute values in the parsing function. We have found that this facility permits smaller grammars to be used, and smaller parsers to be generated. In addition, a significant degree of context-sensitivity can be reflected in what is essentially a context-free framework. Section 2 will contain a brief introduction to attributed grammars, and section 3 will sketch the theory of attributed parsing.
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
|
G. V. Bochmann and P. Ward. "Compiler Writing System for Attribute Grammars," The Computer Journal, Vol. 21, No. 2, pp. 144-148 (1978).
|
| |
4
|
C.C.I.T.T. Study Group XI. High Level Language Team of Specialists. "Proposal for a Recommendation for a C.C.I.T.T. High Level Programming Language," Blue document (May 1977).
|
| |
5
|
I. Fang. "FOLDS, a Declarative Formal Language Definition System," Technical Report STAN-72-329, Stanford University (1972).
|
 |
6
|
|
| |
7
|
H. Ganzinger, K. Ripken, and R. Wilhelm. "Automatic Generation of Optimizing Multipass Compilers," IFIP 77, pp. 535-540 (1977).
|
 |
8
|
|
| |
9
|
S. C. Johnson. "Yacc—Yet Another Compiler-Compiler," Comp. Sci. Tech. Rep. No. 32, Bell Laboratories (July 1975).
|
| |
10
|
S. C. Johnson and M. E. Lesk. "UNIXTM Time-Sharing System: Language Development Tools," Bell System Technical Journal, Vol. 57, No. 6, Part 2, pp. 155-2176 (1978).
|
| |
11
|
D. E. Knuth. "Semantics of Context-Free Languages," Mathematical Systems Theory, Vol. 2, pp. 127-145 (1968). Correction appears in Mathematical Systems Theory, Vol. 5, p. 95 (1971).
|
| |
12
|
|
| |
13
|
O. LeCarme and G. V. Bochmann. "A (Truly) Usable and Portable Compiler Writing System," Information Processing 74, North-Holland Publishing Company (1974).
|
| |
14
|
P. M. Lewis, D. J. Rosenkrantz, and R. E. Stearns. "Attributed Translations," Journal of Computer and Systems Sciences Vol. 9, pp. 279-304 (1974).
|
| |
15
|
|
 |
16
|
|
| |
17
|
|
Peer to Peer - Readers of this Article have also read:
-
Data structures for quadtree approximation and compression
Communications of the ACM
28, 9
Hanan Samet
-
A hierarchical single-key-lock access control using the Chinese remainder theorem
Proceedings of the 1992 ACM/SIGAPP Symposium on Applied computing
Kim S. Lee
, Huizhu Lu
, D. D. Fisher
-
The GemStone object database management system
Communications of the ACM
34, 10
Paul Butterworth
, Allen Otis
, Jacob Stein
-
Putting innovation to work: adoption strategies for multimedia communication systems
Communications of the ACM
34, 12
Ellen Francik
, Susan Ehrlich Rudman
, Donna Cooper
, Stephen Levine
-
An intelligent component database for behavioral synthesis
Proceedings of the 27th ACM/IEEE Design Automation Conference on
Gwo-Dong Chen
, Daniel D. Gajski
|