discovered 03 Aug 2026
acorn
→ View on GitHubAcorn is a lightweight and efficient JavaScript parser implemented in JavaScript, designed for parsing JavaScript code with support for plugins to extend its functionality. It features an error-tolerant parser and a syntax tree walker, enabling developers to create custom parsers for specific JavaScript dialects without modifying the core parser. Acorn’s plugin architecture allows for the modification of token types and tokenizer contexts, facilitating the integration of additional language features such as JSX.