Cornell University
Library
Cornell UniversityLibrary

eCommons

Help
Log In(current)
  1. Home
  2. Cornell Computing and Information Science
  3. Computer Science
  4. Computer Science Technical Reports
  5. Simple Error Recovery Scheme for Optimized LR-Parsers

Simple Error Recovery Scheme for Optimized LR-Parsers

File(s)
81-456.ps (768.2 KB)
81-456.pdf (1.93 MB)
Permanent Link(s)
https://hdl.handle.net/1813/6296
Collections
Computer Science Technical Reports
Author
Krol, Jerzy S.
Abstract

A new, simple and effective method for syntactic error recovery in optimized (reduced) LR-parsers is presented. This method, called the Simple Recovery and Correction scheme, is phrase oriented and performs local and some form of global contect correction. The error handling mechanism is driven by information obtainable from an LR-parser decision table. The formal basis for the method is the concept of synchronizing triple. A theoretical characterization of synchronizing triples is given and algorithms for direct extraction of recovery control information are presented. As a part of the SRC scheme a simplified method for the organization of LR-parser forward moves is introduced. In the last part of the paper the performance of the SRC scheme is illustrated in a specific case and implementation problems are discussed.

Date Issued
1981-03
Publisher
Cornell University
Keywords
computer science
•
technical report
Previously Published as
http://techreports.library.cornell.edu:8081/Dienst/UI/1.0/Display/cul.cs/TR81-456
Type
technical report

Site Statistics | Help

About eCommons | Policies | Terms of use | Contact Us

copyright © 2002-2026 Cornell University Library | Privacy | Web Accessibility Assistance