Practical Error Recovery for LR Parsers

Practical Error Recovery for LR Parsers
Author :
Publisher :
Total Pages : 48
Release :
ISBN-10 : OCLC:227494154
ISBN-13 :
Rating : 4/5 (54 Downloads)

Book Synopsis Practical Error Recovery for LR Parsers by : Thomas J. Pennello

Download or read book Practical Error Recovery for LR Parsers written by Thomas J. Pennello and published by . This book was released on 1977 with total page 48 pages. Available in PDF, EPUB and Kindle. Book excerpt: A 'forward move algorithm' and some of its formal properties are presented for use in a practical syntactic error recovery scheme for LR parsers. The algorithm finds a 'valid fragment' (comparable to a valid prefix) just to the right of a point of error detection. For expositional purposes the algorithm is presented as parsing arbitrarily far beyond the point of error detection in a 'parallel' mode, as long as all parses agree on the read or reduce action to be taken at each parse step. In practice the forward move is achieved serially by adding 'recovery states' to the LR machine. Based on the formal properties of the forward move we propose a practical error recovery algorithm that uses the 'right context' accumulated by the forward move. The performance of the recovery algorithm is illustrated in a specific case and discussed in general. (Author).


Practical Error Recovery for LR Parsers Related Books

Practical Error Recovery for LR Parsers
Language: en
Pages: 48
Authors: Thomas J. Pennello
Categories:
Type: BOOK - Published: 1977 - Publisher:

DOWNLOAD EBOOK

A 'forward move algorithm' and some of its formal properties are presented for use in a practical syntactic error recovery scheme for LR parsers. The algorithm
Syntactic Error Recovery for LR Parsers
Language: en
Pages: 92
Authors: John Arthur Modry
Categories: Computer programs
Type: BOOK - Published: 1976 - Publisher:

DOWNLOAD EBOOK

Automatic Error Recovery for LR Parsers in Theory and Practice
Language: en
Pages: 0
Authors: Julia Anne Dain
Categories:
Type: BOOK - Published: 1989 - Publisher:

DOWNLOAD EBOOK

Minimum distance error recovery for LR parsers
Language: en
Pages: 18
Authors: Julia Dain
Categories: Parsing (Computer grammar)
Type: BOOK - Published: 1992 - Publisher:

DOWNLOAD EBOOK

Abstract: "We present a method for recovering from syntax errors encountered during parsing. The method provides a form of minimum distance repair, has linear t
Error Recovery for LR Parsers
Language: en
Pages: 126
Authors: Thomas Julian Pennello
Categories: Error-correcting codes (Information theory)
Type: BOOK - Published: 1977 - Publisher:

DOWNLOAD EBOOK

A practical algorithm is described that allows an LR parser to parse past the point at which an error was detected. By thus parsing, context beyond the point of