← All repos

acorn

A small, fast, JavaScript-based JavaScript parser

Browse cluster: JavaScript Standard Style Linting
1,540commits
144contributors
3languages

Tech stack & purpose

Acorn is a tiny, fast JavaScript parser written entirely in JavaScript that produces ESTree-compliant abstract syntax trees. The project comprises three main packages: the core acorn parser, acorn-loose for error-tolerant parsing that can recover from syntax errors by inserting placeholder nodes, and acorn-walk for traversing and analyzing syntax trees. The parser is built with JavaScript and can be extended through a plugin system, supporting both ESM and CommonJS module formats, and offers extensive configuration options for parsing different ECMAScript versions and code modes.

Languages

JavaScript
99.9%
HTML
0.1%
Shell
0.0%

Contributors (top 30 of 144)