ACM Home Page
Please provide us with feedback. Feedback
Deterministic parsing of ambiguous grammars
Full text PdfPdf (1.12 MB)
Source
Communications of the ACM archive
Volume 18 ,  Issue 8  (August 1975) table of contents
Pages: 441 - 452  
Year of Publication: 1975
ISSN:0001-0782
Authors
A. V. Aho  Bell Labs., Murray Hill, NJ
S. C. Johnson  Bell Labs., Murray Hill, NJ
J. D. Ullman  Princeton Univ., Princeton, NJ
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 10,   Downloads (12 Months): 76,   Citation Count: 20
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/360933.360969
What is a DOI?

ABSTRACT

Methods of describing the syntax of programming languages in ways that are more flexible and natural than conventional BNF descriptions are considered. These methods involve the use of ambiguous context-free grammars together with rules to resolve syntactic ambiguities. It is shown how efficient LR and LL parsers can be constructed directly from certain classes of these specifications.


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
Aho, A. V. and Ullman, J. D. A technique for speeding up LR (k) parsers. SlAM J. Computing 2, 2 (June 1972), 106-127.
4
 
5
Demers, A. J. Elimination of single productions and merging nonterminal symbols of LR (1) grammars. J. Computer Languages l, 2 (April 1975).
 
6
Demers, A. J. Skeletal LR parsing. IEEE Conf. Record of 15th Annual Symposium on Switching and Automata Theory, 1974, pp. 185-198.
7
 
8
de Bakker, J. W. and Scott, D. A theory of programs. Unpublished.
 
9
Earley, J. Ambiguity and precedence in syntax description. Tech Rep. 13, Dep. Computer Science, U. of California, Berkeley, 1973.
 
10
E1 Djabri, N. Extending the LR parsing technique to some non- LR grammars. TR 121, Computer Science Lab., Dep. Electr. Eng., Princeton U., Princeton, N.J., 1973.
11
12
13
 
14
Friedman, E. P. The inclusion problem for simple machines. Proc. Eighth Annual Princeton Conference on Information Sciences and Systems, 1974, pp. 173-177.
 
15
Ginsburg, S. and Spaniel E. H. Control sets on grammars. Mathematical Systems Theory 2, 2 (1968), 159-178.
 
16
 
17
Joliat, M. L. Practical minimization of LR(k) parser tables. Proc. IFIP Congress 1974, pp. 376-380.
 
18
Knuth, D. E. Top-down syntax analysis. Acta Informatica 1, 2 (1971), 79-110.
19
 
20
Korenjak, A. J. and Hopcroft, J. E. Simple deterministic languages. IEEE Conf. Record of 7th Annual Symposium on Switching and Automata Theory, 1966, pp. 36-46.
 
21
Lewis, P. M. and Rosenkrantz, D. J. An Algol compiler designed using automata theory. Proc. Symposium on Computers and Automata, Polytechnic Institute of Brooklyn, N.Y., 1971, pp. 75-88.
 
22
Lewis, P. M., Rosenkrantz, D. J., and Stearns, R. E. Attributed translations. J. Computer and System Sciences 9, 3 (Dec. 1974), 279- 307.
23
24
 
25
McKeeman, W. M., Homing, J. J., and Wortman, D. B. A Compiler Generator. Prentice-Hall, Englewood Cliffs, N.J., 1970.
26
 
27
Pager, D. On eliminating unit productions from LR(k) parsers. TR, Information Sciences Program, U. of Hawaii, Honolulu, Hawaii, 1974.
 
28
Rosenkrantz, D. J. and Stearns, R. E. Properties of deterministic top-down grammars. Inf. Control 14, 5 (1969), 226-256.
 
29
Stearns, R. E. Deterministic top-down parsing. Proc. Fifth Annual Princeton Conf. on Information Sciences and Systems, 1971, pp. 182-188.
 
30
Wood, D. The theory of left factored languages. Computer J. 12, 4 (1969), 349-356 and 13, 1 (1970), 55-62.

CITED BY  20

Collaborative Colleagues:
A. V. Aho: colleagues
S. C. Johnson: colleagues
J. D. Ullman: colleagues