| Features | - incremental parsing that updates a concrete syntax tree as a file is edited
- a parser generator for writing grammars for any programming language
- error-tolerant parsing that still gives a useful tree with syntax errors
- a dependency-free C runtime with Rust and WebAssembly bindings
- a CLI for generating, testing and running grammars
| - parse() returns an ESTree abstract syntax tree
- ecmaVersion option, from a year or version number to "latest"
- acorn-loose, an error-tolerant parser
- acorn-walk, a syntax tree walker
- ESM and CommonJS builds, with TypeScript types
|