A modification to Earley's algorithm for syntax error recovery

dc.contributor.authorHagglund, Daleen_US
dc.date.accessioned2024-08-14T16:42:15Z
dc.date.available2024-08-14T16:42:15Z
dc.date.copyright1988en_US
dc.date.issued1988
dc.degree.departmentDepartment of Computer Science
dc.degree.levelMaster of Science M.Sc.en
dc.description.abstractThe 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.
dc.format.extent63 pages
dc.identifier.urihttps://hdl.handle.net/1828/18048
dc.rightsAvailable to the World Wide Weben_US
dc.titleA modification to Earley's algorithm for syntax error recoveryen_US
dc.typeThesisen_US

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
HAGGLUND_DALE_MA_1988_443989.pdf
Size:
1.44 MB
Format:
Adobe Portable Document Format