ecma-runtime-cat
ECMAScript runtime: native built-ins (console, Math, JSON, parseInt, isNaN, Promise, ...) that the boa-cat engine exposes to scripts. v0.3.2 adds `JSON.parse(source)` alongside the existing `JSON.stringify`: a hand-rolled recursive-descent JSON parser that handles null / booleans / numbers (including scientific notation) / strings (with `\"` / `\\` / control-character / `\uXXXX` escapes) / arrays / objects and rebuilds them as boa-cat `Value`s on the heap. Throws `SyntaxError` on malformed input; the heap is snapshotted and restored on the error path so partial allocations don't leak.
- Latest release
- 4h ago
- Releases
- 6
- Known CVEs
- 0
- First release
- May 25, 2026
- License
- MIT OR Apache-2.0
- Downloads
- 219
Activity
- Total releases
- 6
- Last 12 months
- 6
- Cadence
- ~daily
- Dependencies
- 6
Releases per month
last 12 monthsRelease mix
- minor 2
- patch 3
Depends on
0.3.2-
boa-cat ^0.7
-
comp-cat-rs ^0.5
-
ecma-lex-cat ^0.1
-
ecma-parse-cat ^0.3
-
ecma-syntax-cat ^0.1
-
proptest ^1 dev
Used by
1| Version | Released | |
|---|---|---|
0.3.2
patch
|
0.3.2
patch
Dependencies (6)
|
|
0.3.1
patch
|
0.3.1
patch
Dependencies (6)
|
|
0.3.0
minor
|
0.3.0
minor
Dependencies (6)
|
|
0.2.1
patch
|
0.2.1
patch
|
|
0.2.0
minor
|
0.2.0
minor
|
|
0.1.0
initial
|
0.1.0
initial
|