talira

Compare

Tree-sitterAcorn (JavaScript parser)
What it isParser generator and incremental parsing library that keeps a syntax tree up to date as a file is editedA tiny, fast JavaScript parser written in JavaScript
KindOpen sourceOpen source
Trust0.740.60
Stars2762111484
Last commit2026-11-292026-11-09
LicenceMITMIT
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
CompanyTree-sitteracornjs
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