Comment #77 on issue 235 by [email protected]: Support the Javascript E4X extension
http://code.google.com/p/v8/issues/detail?id=235

E4X (ECMA-357) is a dead-end standard. The future is an "E5X" that desugars to ES5 strict or ES6 (E4X does not desugar due to filtering predicates, which are like "with" expressions).

See

https://bugzilla.mozilla.org/show_bug.cgi?id=485791
https://bugzilla.mozilla.org/show_bug.cgi?id=627480

Implementing E4X is a lot of work. The spec is still buggy and no one wants to fix it. Adobe and Mozilla have patched their implementations to work around or extend away some of the design flaws. My advice for V8: wait for an "E5X" spec or TR from Ecma, then implement.

Users of E4X in the mean time should consider how much they need the XML parts, with or without namespaces; vs. filtering predicates (which won't survive into any E5X); vs. other bits.

/be

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to