proposal-binary-ast icon indicating copy to clipboard operation
proposal-binary-ast copied to clipboard

[question] I have a question that Binary AST file can be translated directly to bytecode or it should be translated to standard AST and then translated to bytecode in browser?

Open zhijs opened this issue 6 years ago • 2 comments

zhijs avatar Jul 20 '19 15:07 zhijs

It should be feasible to translate BinAST directly to bytecode although that was not a design goal

vdjeric avatar Jul 22 '19 18:07 vdjeric

I assume that by "standard AST", you mean "whatever-the-browser-is-using-as-an-AST", right?

We are working on a prototype implementation that translates to bytecode directly in Firefox.

Yoric avatar Jul 22 '19 18:07 Yoric