Tag
error-recovery
- Jan 8, 2026 Error Recovery in Recursive Descent Parsers How a hand-written parser detects a syntax error, chooses a synchronisation point, and limits cascading diagnostics, including why panic-mode recovery beats local correction. compilers
- Feb 10, 2025 Error Types and Recovery in a Type Checker How a checker keeps going after the first type error without accepting nonsense, what an error type must absorb, and why the count of reported errors is a design decision. compilers
- Apr 2, 2024 Incremental Parsing and Tree Reuse in Editor Syntax Engines How a syntax engine avoids reparsing a whole file on every keystroke: immutable syntax trees, edit-based invalidation, hash-based subtree reuse, and error recovery that has to work on broken text. developer tools
- Mar 6, 2024 How the HTML Tokenizer and Tree Builder Recover from Malformed Markup HTML error recovery is specified rather than improvised, which is why every engine builds the same tree from broken markup. The tokenizer states, the insertion modes, and the repair rules behind that guarantee. web platform