3 ms·
This suggestion also requires a JS engine to have an AST compatible with the one that is described. So the browser developers will have less freedom in a choice
by codedokode 9y ago
This suggestion also requires a JS engine to have an AST compatible with the one that is described. So the browser developers will have less freedom in a choice of an internal AST representation.
- Yoric 9y agoFor what it's worth, I'm currently implementing the Binary AST parser (using the current candidate AST) in SpiderMonkey (which uses its own AST, of course) and that doesn't cause any issue so far. The AST used in the file is a convenient abstraction but doesn't need to match the AST used in-memory.