Back to search

University of Victoria (Canada)

A modification to Earley's algorithm for syntax error recovery

Abstract

dc:description.abstract

The problem of syntax error recovery has recently received a great deal of attention. Most methods in common use are largely ad hoc. Because of this, they tend to have certain pathological cases which cause cascades of error messages. One method of avoiding these error cascades involves using a suffix parser - one which can parse an arbitrary suffix of the specified language. Once an error is detected, the parser is simply restarted to look for subsequent errors. Thus, no spurious error messages are ever generated. Earley's algorithm provides the basis for a general suffix parser. Using a suffix parser as described above allows recovery from syntax errors with no attempt at repair. The modified Earley parser leaves a large amount of information behind in the states it builds to describe its parsing actions which can be used to guide the search for potential repairs. An algorithm based on this fact is presented, along with a simple implementation.

Degree

thesis:*
Level thesis:degree_level
Master of Science M.Sc.
Department thesis:degree_department
Department of Computer Science
Year dc:date.issued
1988

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Hagglund, Dale

Rights

dc:rights
Statement dc:rights
  • Available to the World Wide Web

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/1828/18048

Chain of custody

source
Harvested from
University of Victoria (Canada)
Base URL
dspace.library.uvic.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Hagglund, Dale. A modification to Earley's algorithm for syntax error recovery. Master of Science M.Sc. thesis, 1988. https://hdl.handle.net/1828/18048