Top-Down Parsing Syntax Error Recovery.
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)
Document Details
- Document Type
- Technical Report
- Publication Date
- Dec 01, 1985
- Accession Number
- ADA164859
Entities
People
- Paul E. Hallowell Jr
Organizations
- Naval Postgraduate School