Decision Workspace
ecma-lex-cat vs ecma-syntax-cat vs ecma-parse-cat
Side-by-side comparison of Rust crates
ECMAScript lexer producing Spanned<Token> values for ecma-syntax-cat. ES2024 token surface (keywords, punctuators, all numeric forms, template literals with interpolation, regex literals with last-token disambiguation, ASCII identifiers). No panics, no Rc, no interior mutability.
ECMAScript abstract syntax tree as comp-cat-rs-idiomatic Rust types. ESTree-shaped, ES2024-complete, no panics, no Rc, no interior mutability. Foundation crate for boa-cat and related downstream tooling.
ECMAScript parser consuming ecma-lex-cat tokens and producing ecma-syntax-cat Program ASTs. Comprehensive ES2024 surface (classes, modules, destructuring, async/await, optional chaining, templates). Recursive-descent with precedence climbing.
Core Metrics
| ecma-lex-cat | ecma-syntax-cat | ecma-parse-cat | |
|---|---|---|---|
| Health Score | 44 | 44 | 44 |
| Total Downloads | 39 | 32 | 57 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 5 | 6 | 4 |
| Releases | 1 | 1 | 1 |
| Last Updated | 2d ago | 2d ago | 2d ago |
| Age | 2d | 2d | 2d |
Health Breakdown
Technical Details
| ecma-lex-cat | ecma-syntax-cat | ecma-parse-cat | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 1 | 3 |
| Crate Size | 28KB | 33KB | 36KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •ecma-lex-cat leads with a health score of 44/100, but none of the options score above 80.
- •ecma-parse-cat has the most downloads (57), suggesting wider adoption.