News for hackers. Stuff that matters.
Re:Proposal for a Binary Encoding of the JavaScript AST by Gaelan on Wednesday August 02, 2017 @12:46AM (#14907990)
This is an encoding of the JS AST, so it has a 1-to-1 mapping to JS (modulo whitespace, but the JS would probably be minified anyway). It would be trivial to build a tool to convert this back into JS, and browser devtools will probably do that automatically.
Re:Proposal for a Binary Encoding of the JavaScript AST by Yoric on Wednesday August 02, 2017 @02:08AM (#14908290)
Technically, the tool to convert back to JS is already implemented. For the moment, it loses only comments and layouts and even comments might remain (see issue #11 on github).