Allen.Wirfs-Brock at microsoft.com
Fri Jan 29 18:50:29 PST 2010
David and Sam, well done!
Lots of nits to pick and ideas to discuss but this makes it very clear how a simple "static" (or 2nd class) module system could nicely integrate into ECMAScript.
From: es-discuss-bounces at mozilla.org [mailto:es-discuss-bounces at mozilla.org] On Behalf Of David Herman
Sent: Friday, January 29, 2010 5:14 PM
To: es-discuss at mozilla.org
Subject: simple modules
We had a good discussion about modules at this week's meeting, and Sam Tobin-Hochstadt and I have worked out a strawman for a simple module system. I've posted a first draft to the wiki:
There are lots of examples to peruse at:
which might also be a decent starting point to get a feel for the design.
This has a good bit of overlap with -- and is in many ways inspired by -- Ihab and Chris's work, but it has at least one major departure: modules in this proposal are not inherently first class values, although we do provide ways of getting objects that reflect the contents of modules.
This is just a draft, and we'll be revising it as we go along. But I'm happy to take any feedback people have. Also, please let me know what's unclear. I'll try to both clarify on es-discuss and revise the page accordingly.
es-discuss mailing list
es-discuss at mozilla.org
More information about the es-discuss