ECMAScript Parser Test Suite

JSON →
library 0.0.5 ·javascript
verified Apr 19, 2026

The `test262-parser-tests` package provides a comprehensive, standardized set of test cases specifically designed for evaluating ECMAScript parsers against the official specification. Currently at version 0.0.5, this project is maintained by TC39 and serves as a foundational resource for parser implementers. It categorizes tests into `pass/` for syntactically valid programs, `early/` for programs that adhere to grammar but trigger early errors, and `fail/` for syntactically invalid programs. A unique feature is `pass-explicit/`, offering explicitly parenthesized versions of `pass/` tests for robust equivalence checking of Abstract Syntax Tree (AST) generation. Crucially, these tests are intended solely for parsing validation and are explicitly *not* designed for runtime evaluation; most would throw errors if executed. Its release cadence is generally tied to updates and amendments of the ECMAScript specification, incorporating new syntax or parsing rules as they evolve.

total hits 14
actors 6 distinct systems
last hit 1d ago MetaBot
GPTBot
5
MetaBot
2
Script
1
Search engines
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France