Top-Down Parsing Syntax Error Recovery.
NAVAL POSTGRADUATE SCHOOL MONTEREY CA
Pagination or Media Count:
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
- Computer Programming and Software