ES Modules: suggestions for improvement
John J Barton
johnjbarton at johnjbarton.com
Tue Jun 26 10:12:26 PDT 2012
As I understand it, two issues drive the need for standardization of
modules:
1) we want one environment for all JS,
2) to move beyond the limitations of RequireJS and CommonJS requires
parsing, and that is considered too expensive for library implementations.
The first point is obvious, the second one is implicit in the blog posts by
Isaac and James.
In other words, I gather that Isaac, James and others believe that there
exists a parser based dependency analysis solution that does not require
the significant new ES harmony syntax. Since we have Traceur,
esprima-harmony and similar transpilers, we can try ES-Harmony vs
TBD-better-option. But we need said option to show up.
jjb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120626/66d6b031/attachment.html>
More information about the es-discuss
mailing list