Hacker GitHub

← All repos

acornjs/acorn

View on GitHub ↗ ★ 11,469 JavaScript

A small, fast, JavaScript-based JavaScript parser

9 mentions on Hacker News by 9 people: 1 story, 8 comments · first 2016-03-22 · latest 2025-11-15

Mentions per year 9 mentions · busiest year 2016 (2)
20082026
  1. …limits so I can eval stuff in the browser without crashing the tab. I did not use an LLM. [0]: https://github.com/acornjs/acorn
    comment by yokljo · 2025-11-15 · in Designing a Language (2017)
  2. …https://github.com/mixmark-io/domino https://github.com/webpack/webpack https://github.com/acornjs/acorn https://github.com/nicolo-ribaudo/acorn-import-phases https://github.com/browserslist/browserslist https://github.com/web-pla
  3. Oh dear, also the name of a JS parser https://github.com/acornjs/acorn
  4. …[1] https://babeljs.io/docs/en/babel-parser#output [2] https://github.com/babel/babel [3] https://github.com/acornjs/acorn [4] https://github.com/eslint/espree [5] https://github.com/benjamn/recast [6]…
  5. …but you could implement a decent subset. Especially if you skip the parsing step with Acorn https://github.com/acornjs/acorn
    comment by _hardwaregeek · 2020-04-27 · in Eloquent JavaScript 3rd Edition (2018)
  6. …calculator https://caub.github.io/misc/calculator Acorn (JS AST parser) is an interesting codebase https://github.com/acornjs/acorn/tree/master/acorn/src engine262 (JS AST parser and evaluator) too is interesting, here's how JSON parser is…
    comment by 11235813213455 · 2019-12-12 · in Write a parser with JavaScript
  7. Acorn has a plugin system: https://github.com/ternjs/acorn#plugins But as far as I know Esprima does not: https://github.com/jquery/esprima/issues/1168 I have no idea about Cherow...
  8. …an ESTree compliant syntax tree. Then you can traverse it and modify it like any other AST. [1] https://github.com/ternjs/acorn [2] http://esprima.org/ [3] https://github.com/estree/estree
    comment by concise_unicorn · 2016-08-08 · in Show HN: Auto install npm dependencies as you code