A 100% compliant, self-hosted javascript parser with high focus on both performance and stability

parsing, ecmascript, javascript, parser, performance, estree, es2018, es2019, es2020, esnext, lexer, ast, lightweight, acorn, jsx, stability, tc39, typescript
npm install meriyah@1.9.4



A "simple" project to port my private code to open source code. The code is independent of Cherow and is completely different.

Meriyah are using a "modular" approach, and call the functions it needs during parsing when it's actually needed.

This improves the performance and reduce the memory neeed to do a simple parse.

This code exist just to show off the concept, and this works for now:

  • Identifier and number parsing
  • Unary and update expression
  • Binary expr
  • Member expr
  • Primary expr
  • Non-parenthesized arrows