tc39 / proposal-binary-ast

Binary AST proposal for ECMAScript
965 stars 23 forks source link

[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? #78

Open zhijs opened 5 years ago

vdjeric commented 5 years ago

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

Yoric commented 5 years ago

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.