In theory, it should be possible to have both modes, if the parser is
designed for it. Unfortunately, that's not the case at the moment.

Mozilla has recently started working on a new parser which could be used
both by VMs and by JS/wasm devs. It might help towards this issue, but
it's still early days.

Cheers,
 David

On 15/09/2019 13:09, Jack Works wrote:
> Happy to see standard ast in binary ast proposal.
> 
> For compiler, it can have a "slow" mode when parsing with this parser
> API and still use fast code generation in other cases. But unfortunately
> it seems there are much more work than I think to provide such an API.
> 
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to