skip to main content
article
Free Access

On the Complete Covering Problem for LR(k)Grammars

Authors Info & Claims
Published:01 January 1976Publication History
Skip Abstract Section

Abstract

A direct, one-step transformation is presented for transforming an arbitrary LR(k) context-free grammar, G, to an LR(1) grammar, G′, which completely covers G. Under additional hypotheses, G′ may be made LR(0).

References

  1. 1 AHO, A V , AND ULLMAN, J D. The Theory of Parsing, Translatwn, and Compilzng, Vol. 2 Prentice-Hall, Englewood Chffs, N J, 1973 Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2 GINSBURG, S, AND GREIBACH, S A Deterministic context-free languages. Inform. and Contr. 9 (1966), 620-648Google ScholarGoogle ScholarCross RefCross Ref
  3. 3 GRAY, J.N , AND HARRISON, M.A. On the covering and reduction problems for context-free grammars. J. A CM 19, 4 (Oct. 1972), 675-698. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4 HARRISON, M A., AND HAVEL, I M Strmt determimstm grammars. J. Comput and Syst Sc~s. 7 (1973), 237-277.Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5 HOPCROFT, J.E, AND ULLMAN, j.D Formal Languages and Their Relatwn to Automata. Addison-Wesley, Reading, Mass., 1969 Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. 6 KNUTH, D.E. On the translation of languages from left to right. Inform. and Contr. 8 (1965), 607-639.Google ScholarGoogle ScholarCross RefCross Ref
  7. 7 MICKUNAS, M D, LANCASTER, R.L, AND SCHNEIDER, V B. Transforming LR(k) grammars to R(1), SLR(1), and (1, 1) bounded-right-context (unpublished manuscript, 1974).Google ScholarGoogle Scholar
  8. 8 h{{ICKUNAS, M D , AND SCHNEIDER, V B On the ability to cover LR(k) grammars with LR(1), SLR(1), and (1, 1) bounded-context grammars. Proc. of the 14th Annual Symp on Switching and Automata Theory, Oct 1973, pp 109-121Google ScholarGoogle Scholar
  9. 9 EYNOLDS, J.C., AND HASKELL, R. Grammatical coverings (unpubhshed manuscript, 1970).Google ScholarGoogle Scholar

Index Terms

  1. On the Complete Covering Problem for LR(k)Grammars

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      • Published in

        cover image Journal of the ACM
        Journal of the ACM  Volume 23, Issue 1
        Jan. 1976
        220 pages
        ISSN:0004-5411
        EISSN:1557-735X
        DOI:10.1145/321921
        Issue’s Table of Contents

        Copyright © 1976 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 1 January 1976
        Published in jacm Volume 23, Issue 1

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • article

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader