ACM Home Page
Please provide us with feedback. Feedback
Properties of deterministic top down grammars
Full text PdfPdf (1.17 MB)
Source Annual ACM Symposium on Theory of Computing archive
Proceedings of the first annual ACM symposium on Theory of computing table of contents
Marina del Rey, California, United States
Pages: 165 - 180  
Year of Publication: 1969
Authors
D. J. Rosenkrantz  General Electric Research & Development Center, Schenectady, N.Y.
R. E. Stearns  General Electric Research & Development Center, Schenectady, N.Y.
Sponsor
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 18,   Citation Count: 4
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/800169.805431
What is a DOI?

ABSTRACT

The class of context free grammars that can be deterministically parsed in a top down manner with a fixed amount of look-ahead is investigated. These grammars, called LL(k) grammars where k is the amount of look-ahead are first defined and a procedure is given for determining if a context free grammar is LL(k) for a given value of k. It is shown that &egr;-rules can be eliminated from an LL(k) grammar, at the cost of increasing the value of k by one, and a description is given of a canonical pushdown machine for recognizing LL(k) languages. It is shown that for each value of k there are LL(k+l) languages that are not LL(k) languages. It is shown that the equivalence problem is decidable for LL(k) grammars. Additional properties are also given.


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
Davis, M., Computability and Unsolvability, McGraw-Hill, New York, 1958.
 
2
Ginsburg, S. and Greibach, S., "Deterministic Context-Free Languages," Information & Control, 9,6 (December 1966) 620-648.
3
 
4
Korenjak, A.J., and Hopcroft, J.E., "Simple Deterministic Languages," IEEE Conference Record of Seventh Annual Symposium on Switching and Automata Theory, IEEE Pub. No. 16-C-40, Oct. 1966, pp. 36-46.
 
5
Knuth, D.E., "On the Translation Of Languages from Left to Right," Information & Control, 8,6 (December 1965) 607-639.
6
 
7
Oettinger, A. Automatic Syntactic Analysis and the Pushdown Store, Jacobson, R. (Ed.), Structure of Language and Its Mathematical Concepts, Proc. 12th Symposium in Appl. Math., Amer. Math. Soc., Providence, R. I., 1961, pp. 104-129.
 
8
Paull, M.C., and Unger, S.H., "Structural Equivalence of LL-k Grammars," IEEE Conference Record of Ninth Annual Symposium on Switching and Automata Theory, IEEE Pub. No. 68-C-50-C, Oct. 1968, pp. 176-186.


Collaborative Colleagues:
D. J. Rosenkrantz: colleagues
R. E. Stearns: colleagues