A Practical Method for Syntactic Error Diagnosis and Recovery (Classic Reprint) - Softcover

Michael Burke

 
9780366698660: A Practical Method for Syntactic Error Diagnosis and Recovery (Classic Reprint)

Synopsis

Improve how compilers fix their own mistakes with a practical method for syntactic error diagnosis and recovery.

This book explains a concrete approach to diagnosing parsing errors and recovering from them, using real parser scenarios and runnable examples. It focuses on how to guide recovery with forward context, left-to-right strategies, and language-specific tuning to improve accuracy without overhauling grammar rules.

The work compares different parsing approaches and shows how to choose effective corrections in primary and secondary recovery. It explains how to tune language maps that govern which corrections are allowed, and how such tuning can lead to clearer diagnostics and better performance. Practical examples come from languages like Ada, Pascal, and others, illustrating how the method works in the wild.
  • How error points are detected and repaired during parsing
  • Ways to use forward context and candidate corrections safely
  • How language-specific maps influence recovery decisions
  • Comparisons of LL and LR recovery strategies and their trade-offs
Ideal for readers of practical compiler design and language tooling, this edition helps developers understand error recovery from first principles and see how it applies to real languages.

"synopsis" may belong to another edition of this title.

Other Popular Editions of the Same Title