A Syntax-Error-Handling Technique and Its Experimental Analysis
ACM Transactions on Programming Languages and Systems (TOPLAS)
Practical syntactic error recovery
Communications of the ACM
A forward move algorithm for LR error recovery
POPL '78 Proceedings of the 5th ACM SIGACT-SIGPLAN symposium on Principles of programming languages
The Theory of Parsing, Translation, and Compiling
The Theory of Parsing, Translation, and Compiling
SIGPLAN '79 Proceedings of the 1979 SIGPLAN symposium on Compiler construction
A practical method for syntactic error diagnosis and recovery
SIGPLAN '82 Proceedings of the 1982 SIGPLAN symposium on Compiler construction
A forward move algorithm for LL and LR parsers
SIGPLAN '82 Proceedings of the 1982 SIGPLAN symposium on Compiler construction
Error detection and recovery for syntax directed compiler systems
Error detection and recovery for syntax directed compiler systems
Syntax error detection, correction and recovery in parsers
Syntax error detection, correction and recovery in parsers
Principles of Compiler Design (Addison-Wesley series in computer science and information processing)
Principles of Compiler Design (Addison-Wesley series in computer science and information processing)
Hi-index | 0.00 |
A 4-level language independent error recovery scheme for table driven LR(1) parsers is presented. The first two levels are intended for recovery with appropriate corrections and the next two for simple recovery without corrections. The objective is to do the recovery without affecting the semantics or data structure of the compiler while at the same time producing necessary diagnostics and terminating gracefully. The scheme is a significant improvement and a step forward in the direction of language independent error recovery and is made portable when combined with any of the existing LR(1) parser generators. It is currently implemented as an integral part of the YACC parser generator in an ongoing project at Advanced Micro Devices.