Chevrotain
Home
Features
Tutorial
Guide
FAQ
Changes
APIs
Playground
Benchmark
Discussions
GitHub
Home
Features
Tutorial
Guide
FAQ
Changes
APIs
Playground
Benchmark
Discussions
GitHub
  • Features

    • Blazing Fast
    • LL(K) Grammars
    • Separation of Grammar and Semantics
    • Easy Debugging
    • Fault Tolerance
    • Multiple Start Rules
    • Customizable Error Messages
    • Parameterized Rules
    • Gates
    • Syntactic Content Assist
    • Grammar Inheritance
    • Backtracking
    • Syntax Diagrams
    • RegExp Based Lexers
    • Position Tracking
    • Token Alternative Matches
    • Token Skipping
    • Token Categories
    • Token Grouping
    • Custom Token Patterns
    • Lexer Modes

Fault Tolerance

Chevrotain provides automatic error recovery capabilities, this means that Chevrotain parsers are fault-tolerant which is an important capability when creating editor and language services tooling.

In practical terms this means that Chevrotain will be able to report multiple syntax errors instead of stopping on the first one and also provide a partial output structure for an invalid input.

For more details on Fault Tolerance and error recovery see the in-depth guide.

Edit this page on GitHub
Last Updated: 6/27/22, 12:27 AM
Contributors: Shahar Soel, bd82
Prev
Easy Debugging
Next
Multiple Start Rules