Chevrotain is a Javascript parsing DSL for building high performance fault-tolerant recursive decent parsers.
Chevrotain is NOT a parser generator. It solves the same kind of problems as a parser generator, just without any code generation phase.
Lexer Engine based on Regular Expression.
Parsing DSL for defining the grammar.
Grammar Reflection/Introspection.
Well tested with ~100% code coverage, Unit & Integration tests
npm install chevrotainbower install chevrotainOnline tutorial * Step #1 - Building a Lexer: online version / written version. * Step #2 - Building a Parser: online version / written version. * Step #3 - Adding actions to the Parser: online version / written version. * Step #4 - Fault tolerance and Error recovery: online version / written version.
Annotated source code (dev version):
The aggregated Typescript definitions :
None.
Chevrotain should run on any modern Javascript ES5.1 runtime. * The CI build runs the tests under: * Node.js (0.12 / 4 / 5). * latest stable Chrome. * latest stable Firefox. * Additionally local testing is done on latest versions of Chrome/Firefox/IE. * Uses UMD to work with common module loaders (browser global / amd / commonjs).
$ claude mcp add chevrotain \
-- python -m otcore.mcp_server <graph>