AcornJS icon
AcornJS icon

AcornJS

Acorn is a tiny, fast JavaScript parser, written completely in JavaScript. Acorn is designed to support plugins which can, within reasonable bounds, redefine the way the parser works. Plugins can add new token types and new tokenizer contexts (if necessary), and extend methods...

AcornJS screenshot 1

Cost / License

  • Free
  • Open Source

Platforms

  • Self-Hosted
-
No reviews
0likes
0comments
0news articles

Features

Suggest and vote on features
  1.  Extensible by Plugins/Extensions

 Tags

AcornJS News & Activities

Highlights All activities

Recent activities

No activities found.

AcornJS information

  • Developed by

    Unknown
  • Licensing

    Open Source (MIT) and Free product.
  • Written in

  • Alternatives

    3 alternatives listed
  • Supported Languages

    • English

AlternativeTo Category

Development

GitHub repository

  •  11,244 Stars
  •  994 Forks
  •  15 Open Issues
  •   Updated  
View on GitHub

Popular alternatives

View all
AcornJS was added to AlternativeTo by David on and this page was last updated .
No comments or reviews, maybe you want to be first?
Post comment/review

What is AcornJS?

Acorn is a tiny, fast JavaScript parser, written completely in JavaScript. Acorn is designed to support plugins which can, within reasonable bounds, redefine the way the parser works. Plugins can add new token types and new tokenizer contexts (if necessary), and extend methods in the parser object. This is not a clean, elegant API—using it requires an understanding of Acorn's internals, and plugins are likely to break whenever those internals are significantly changed. But still, it is possible, in this way, to create parsers for JavaScript dialects without forking all of Acorn. And in principle it is even possible to combine such plugins, so that if you have, for example, a plugin for parsing types and a plugin for parsing JSX-style XML literals, you could load them both and parse code with both JSX tags and types.

Official Links