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
20082026
-
…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) -
…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
comment by CMay · 2025-09-20 · in Less is safer: Reducing the risk of supply chain attacks -
Oh dear, also the name of a JS parser https://github.com/acornjs/acorn
comment by lloydatkinson · 2022-08-28 · in Acorn: A simple application deployment framework for Kubernetes -
…[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]…
comment by kevlened · 2022-04-12 · in Show HN: Monocle – bidirectional code generation library -
…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) -
…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 -
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...
comment by bd82 · 2017-09-26 · in Fast ECMAScript Parser – Alternative to Acorn / Esprima -
…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