<snip> > OTOH, if we standardize an AST format, then presumably we'll be adding > a source->AST API function that uses the implementation's existing parser.
I'd be worried about assuming that this is an obvious/trivial thing for implementations to do, you're effectively requiring that the internal AST representation of an implementation be entirely standardised. For example it is not possible for JSC's parser to produce an AST that exactly matches the input code -- I would expect similar problems with other implementations. --Oliver _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

