SkillAgentSearch skills...

Esparse

A Beautiful Parser for the ECMAScript Language

Install / Use

/learn @zenparsing/Esparse
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

esparse

esparse is a parser for the ECMAScript programming language, written in JavaScript. Given a string representing a JavaScript program, it will output an abstract syntax tree representing that program.

Project Goals

The primary goal of this project is to implement an ECMAScript parser:

  • Whose source code is clear, easy to follow, and aesthetically pleasing.
  • That is easy to extend or modify for language experimentation purposes.
  • That provides an AST structure which is easy to traverse, easy to manipulate, and is convenient for a wide variety of code transformation use cases.
  • Whose performance is comparable to other modern ECMAScript parsers which are written in JavaScript.

AST compatibility with other parsers is not a project goal. However, it is expected that any future changes to the AST protocol will be backward compatible with previous versions.

Related Skills

View on GitHub
GitHub Stars116
CategoryDevelopment
Updated6mo ago
Forks10

Languages

JavaScript

Security Score

87/100

Audited on Sep 4, 2025

No findings