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

Syntax Diagrams

Chevrotain exposes APIs to generate html syntax diagrams. These visual diagrams are a very useful development tool for grammars and can also be used as a kind of automatic self documentation.

For a quick preview see:

  • JSON Syntax diagrams.
  • CSS Syntax diagrams.

And see the full guide for further details.

Edit this page on GitHub
Last Updated: 2/28/21, 11:53 PM
Contributors: Soel, Shahar Soel, bd82
Prev
Backtracking
Next
RegExp Based Lexers