hermes-parser 0.1.0

A Rust port of the Hermes JavaScript/Flow/TypeScript parser (front-end) by Tzvetan Mikov, the architect of Hermes. Not an official Meta project.
Documentation

hermes-parser

A Rust port of the Hermes JavaScript parser by Tzvetan Mikov, the architect of Hermes. Not an official Meta project and not supported by Meta.

Provides the lexer, the JSON parser, and the JS parser — with the Flow type grammar, TypeScript, and JSX all complete and opt-in per dialect. Produces an ESTree-compatible AST (hermes-ast) byte-for-byte matching hermesc -dump-ast.

parse(source, ParseFlags) is the front door; the low-level JSLexer / JSParserImpl API is public too.

Version: 0.1.0 — API docs at docs.rs/hermes-parser.

See the project README for the full documentation, language support matrix, quickstart, and comparison with other Rust parsers.