Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/800157.805048acmconferencesArticle/Chapter ViewAbstractPublication PagesstocConference Proceedingsconference-collections
Article
Free access

The care and feeding of LR(k) grammars

Published: 03 May 1971 Publication History
  • Get Citation Alerts
  • Abstract

    We consider methods of modifying LR(k) parsers [1] while preserving the ability of that parsing method to detect errors at the earliest possible point on the input. Two transformations are developed, and the methods of Korenjak [2] and DeRemer [3] are expressed in terms of these transformations. The relation between these two methods is exposed. Proofs are for the most part omitted, but can be found in [4].

    References

    [1]
    D. E. Knuth, "On the translation of languages from left to right," Inf. Control, Vol. 8, no. 6, 607-639, 1965.
    [2]
    A. J. Korenjak, "A practical method for constructing LR(k) processors," Comm. ACM, vol 12, no. 11, November 1969, 613-623.
    [3]
    F. DeRemer, Practical Translators for LR(k) Languages, Project MAC Report MAC TR-65, October 1969, Cambridge, Mass.
    [4]
    A and U, The Sensuous Compiler, Prentice Hall, Englewood Cliffs, New Jersey, to appear.

    Cited By

    View all
    • (1982)Extended LL(k) grammars and parsersProceedings of the 20th annual Southeast regional conference10.1145/503896.503938(240-245)Online publication date: 1-Apr-1982
    • (1973)The lane tracing algorithm for constructing LR(k) parsersProceedings of the fifth annual ACM symposium on Theory of computing10.1145/800125.804048(172-181)Online publication date: 30-Apr-1973
    • (1972)A technique for speeding up LR(k) parsersProceedings of the fourth annual ACM symposium on Theory of computing10.1145/800152.804920(251-263)Online publication date: 1-May-1972
    • Show More Cited By

    Index Terms

    1. The care and feeding of LR(k) grammars

      Recommendations

      Comments

      Information & Contributors

      Information

      Published In

      cover image ACM Conferences
      STOC '71: Proceedings of the third annual ACM symposium on Theory of computing
      May 1971
      270 pages
      ISBN:9781450374644
      DOI:10.1145/800157
      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]

      Sponsors

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 03 May 1971

      Permissions

      Request permissions for this article.

      Check for updates

      Qualifiers

      • Article

      Acceptance Rates

      STOC '71 Paper Acceptance Rate 23 of 50 submissions, 46%;
      Overall Acceptance Rate 1,469 of 4,586 submissions, 32%

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)61
      • Downloads (Last 6 weeks)3
      Reflects downloads up to 26 Jul 2024

      Other Metrics

      Citations

      Cited By

      View all
      • (1982)Extended LL(k) grammars and parsersProceedings of the 20th annual Southeast regional conference10.1145/503896.503938(240-245)Online publication date: 1-Apr-1982
      • (1973)The lane tracing algorithm for constructing LR(k) parsersProceedings of the fifth annual ACM symposium on Theory of computing10.1145/800125.804048(172-181)Online publication date: 30-Apr-1973
      • (1972)A technique for speeding up LR(k) parsersProceedings of the fourth annual ACM symposium on Theory of computing10.1145/800152.804920(251-263)Online publication date: 1-May-1972
      • (1972)Applications of language theory to compiler designProceedings of the May 16-18, 1972, spring joint computer conference10.1145/1478873.1478904(235-242)Online publication date: 16-May-1972

      View Options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Get Access

      Login options

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media