ecma-parse-cat-0.3.0
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). v0.3.0 clears three async-syntax workarounds: (1) `obj.catch` and other reserved-word `IdentifierName`s now parse in member-access position via a new `expect_member_name` that covers all reserved words; (2) async arrow forms `async (a, b) => body`, `async x => body`, and `async () => body` parse via cover-grammar refinement on `async(args)` call expressions; (3) top-level `async function foo() { ... }` declarations dispatch to a new `parse_function_declaration_with_async` helper.
2 hours ago