|
ABSTRACT
A parsing method for strict deterministic grammars is presented and a technique for using it to parse any deterministic language is indicated. An important characterization of the trees of strict deterministic grammars is established. This is used to prove iteration theorems for (strict) deterministic languages, and hence proving that certain sets are not in these families becomes comparatively straightforward. It is shown that every strict deterministic grammar is LR(0) and that any strict deterministic grammar is equivalent to a bounded right context (1, 0) grammar. Thus rigorous proofs that the families of deterministic, LR (k), and bounded right context languages are coextensive are presented for the first time.
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
|
|
 |
4
|
|
 |
5
|
|
 |
6
|
|
| |
7
|
GELLER, M. M., AND HARRISON, M.A. Characterizations of LR(0) languages. Conf. Rec. of the 14th Annual Symp. on Switching and Automata Theory, 73CH0-786-4-C, 1973, pp. 103-108.
|
| |
8
|
|
| |
9
|
GINSBURG, S., AND GREIBACR, S.A. Deterministic context-free languages. Inform. and Contr. 9 (1966), 602-648.
|
| |
10
|
|
| |
11
|
GaARAM, S.L. On bounded right context languages and grammars. SIAM J. of Computing (to appear).
|
 |
12
|
|
 |
13
|
|
| |
14
|
|
| |
15
|
HAINES, L.H. Generation and recognition of formal languages. Ph.D. Thesis, M.I.T., 1965.
|
| |
16
|
HARRISON, M.A. On the relation between grammars add automata. InAdvances of lnformation Sciences 4, J. T. Tou, Ed., Plenum Press, New York, 1972, pp. 39-92.
|
| |
17
|
HARRISON, M. A., AND HAVEL, I .M . Strict deterministic grammars. J. Comput. and Syst. Sci. 7 (1973), 237-277.
|
| |
18
|
|
| |
19
|
KNUTH, D.E. On the translation of languages from left to right. Inform. and Contr. 8 (1965), 607-639.
|
| |
20
|
|
 |
21
|
|
| |
22
|
LEMANN, D. LR(k) grammars and deterministic languages. Israel J. of Math. 10 (1971), 526-530.
|
| |
23
|
OGDEN, W.F. Intercalation theorems for pushdown store and stack languages. Ph.D. Thesis, Stanford U., 1968.
|
| |
24
|
|
| |
25
|
ULLMAN, J. D. Applications of language theory to compiler design. In Theoretical Computer Science, A. V. Aho, Ed., Prentice-Hall, Englewood Cliffs, N. J., 1972.
|
| |
26
|
VALIANT, L.G. General context-free recognition in less than cubic time. Tech. Rep., Dep. of Computer Science, Carnegie-Mellon U., Pittsburgh, Pa., Jan. 1974.
|
|