Hacker GitHub

← All repos

tc39/proposal-binary-ast

View on GitHub ↗ ★ 985

Binary AST proposal for ECMAScript

14 mentions on Hacker News by 12 people: 3 stories, 11 comments · first 2017-07-19 · latest 2026-04-08

Mentions per year 14 mentions · busiest year 2017 (7)
20082026
  1. …to parse and a bit smaller than minified code makes it a pretty much universally useful proposal. https://github.com/tc39/proposal-binary-ast
    comment by hajile · 2026-04-08 · in JSIR: A High-Level IR for JavaScript
  2. …ago [1]. Why not just use that as JS0? It's separate and can offer new possibilities as well. [1]: https://github.com/tc39/proposal-binary-ast
  3. Check this proposal out: https://github.com/tc39/proposal-binary-ast
    comment by chris_pie · 2024-05-31 · in Engineering for Slow Internet
  4. …bytecode. It never got much adoption but I believe it would have made the web a lot more efficient. https://github.com/tc39/proposal-binary-ast
  5. …directly shipping ASTs instead of JavaScript source files for performance improvements [0]. [0]: https://github.com/tc39/proposal-binary-ast
  6. There is a proposal from Mozilla/Facebook for a binary JS format. https://github.com/tc39/proposal-binary-ast
    comment by hajile · 2022-01-22 · in WebAssembly: The New Kubernetes?
  7. You might wanna checkout proposal for binary format in js - https://github.com/tc39/proposal-binary-ast
    comment by searchableguy · 2020-06-06 · in JavaScript: The First 20 Years
  8. …"Would it be possible to write a tool to convert serialized AST back to JS?" portion of the FAQ ( https://github.com/syg/ecmascript-binary-ast#faq ) says that it would be possible to generate source which would be "semantically equivalent"…
    comment by mnarayan01 · 2017-08-18 · in Towards a JavaScript Binary AST
  9. …complicate JavaScript with such a powerful mechanism already tuned to perfectly complement it. [0]: https://github.com/syg/ecmascript-binary-ast/#-2-early-error...
    comment by s3th · 2017-08-18 · in Towards a JavaScript Binary AST
  10. …support going through the Binary AST than going through .js source files, out of the box. [1] https://github.com/syg/ecmascript-binary-ast/issues/17
    comment by sjrd · 2017-08-18 · in Towards a JavaScript Binary AST
  11. For those curious about how this would deal with Function.prototype.toSource, via https://github.com/syg/ecmascript-binary-ast#functionprototy... : > This method would return something like "[sourceless code]".
    comment by mnarayan01 · 2017-08-18 · in Towards a JavaScript Binary AST