Nothing Special   »   [go: up one dir, main page]

skip to main content
A practical method for constructing efficient LALR(K) parsers with automatic error recovery
Publisher:
  • New York University
  • 202 Tisch Hall Washington Square New York, NY
  • United States
Order Number:UMI Order No. GAX91-34651
Reflects downloads up to 28 Nov 2024Bibliometrics
Skip Abstract Section
Abstract

LR parsing is used for a wide range of applications, including compiler construction, automatic code generation, language-specific editors and natural language processing. Currently, however, solutions have not been developed for practical multiple-lookahead parsing, fully-automatic error recovery, and space and time-efficient LR parsing across the wide-range of applications.

A practical framework for LR(k) parsing is introduced. An efficient algorithm incrementally constructs an LALR(k) parser with varying-length lookahead strings, whose symbols are consulted during parsing only when necessary. Currently, effective LR error recovery systems require some user intervention. An effective and fully automated syntactic error recovery method for LR(k) parsers is presented. A generally effective method for compressing LR(k) parsing tables is also presented.

These innovations have been incorporated into a parser generator system which automatically produces a production-quality parser with error diagnostics and recovery.

Contributors
  • New York University

Index Terms

  1. A practical method for constructing efficient LALR(K) parsers with automatic error recovery
    Please enable JavaScript to view thecomments powered by Disqus.

    Recommendations