Accession Number:

ADA164859

Title:

Top-Down Parsing Syntax Error Recovery.

Descriptive Note:

Master's thesis,

Corporate Author:

NAVAL POSTGRADUATE SCHOOL MONTEREY CA

Personal Author(s):

Report Date:

1985-12-01

Pagination or Media Count:

179.0

Abstract:

Compiler writers continue to search for a reliable method of syntactic error recovery. Spurious error reports and confusing diagnostics are common problems confronting the programmer. Innumerable eror possibilities have made recovery design a frustrating task. This thesis implements a method of syntactic error recovery using recursive calls on the error recovery routine. Parsing is accomplished by traversing transition diagrams which are created from syntax charts. Key language symbols and dynamically generated recovery positions are used in restroig the parse. High-quality error diagnostics give a clear, accurate, and thorough description of each error, providing an excellent instuctional software tool. Approach and implementation issues are discussed, and sample output listings are included. Keywords Computer programs Flow charting. Author

Subject Categories:

  • Computer Programming and Software

Distribution Statement:

APPROVED FOR PUBLIC RELEASE