Summary
Let Π be an LR(0) parser of a given LR(0) grammar G. Generally, Π does not only parse the words generated by G but also the words of some other LR(0) grammars different from G. In this paper we shall define a class of LR(0) parsers and shall present a characterization and a method for the construction of all LR(0) grammars which can be parsed by a given LR(0) parser.
Similar content being viewed by others
References
Aho, A.V., Ullman, J.D.: Properties of syntax directed translations. JCSS 3, 319–334 (1969)
Aho, A.V., Ullman, J.D.: The theory of parsing, translation and compiling, Vol. 1, parsing. Englewood Cliffs: Prentice-Hall 1972
Aho, A.V., Ullman, J.D.: The theory of parsing, translation and compiling, Vol. 2, compiling. Englewood Cliffs: Prentice-Hall 1973
Aho, A.V., Ullman, J.D.: Optimization of LR(k) parsers. JCSS 6, 573–602 (1972)
DeRemer, F.: Simple LR(k) grammars. Comm. ACM 14, 453–460 (1971)
Harrison, M.A.: Introduction to formal language theory. Reading Mass: Addison-Wesley 1978
Hotz, G., Claus, V.: Automatentheorie und Formale Sprachen. Band 823a, Mannheim: Bibliographisches Institut, 1972
Joliat, M.L.: On the reduced matrix representation of LR(k) parser tables. Ph.D. thesis, University of Toronto (1973)
Kemp, R.: An estimation of the set of states of the minimal LR(0) parser. In: Automata, languages and programming, (M. Nivat, ed.). Amsterdam: North-Holland, p. 563, 1973
Kemp, R.: Minimierung von LR(k)-Analysatoren. Techn. Rep. A75/1, A75/2, Universität des Saarlandes, Saarbrücken, 1975
Kemp, R.: LR(0) grammars generated by LR(0) parsers. Techn. Rep. A79/18, Universität des Saarlandes, Saarbrücken, 1979
Korenjak, A.J.: A practical method for constructing LR(k) processors. Comm. ACM 12, 613–623 (1969)
Knuth, D.E.: On the translation of languages from left to right. Information and Control. 8, 607–639 (1965)
Pager, D.: A solution to an open problem by Knuth. Information and Control. 17, 462–473 (1970)
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Kemp, R. LR(0) grammars generated by LR(0) parsers. Acta Informatica 15, 265–280 (1981). https://doi.org/10.1007/BF00289265
Received:
Issue Date:
DOI: https://doi.org/10.1007/BF00289265