Hi folks,<br><br>Kris Kowal and I have been thinking about modules in JavaScript a lot. :) Our current proposal (which should be unsurprising to this list) contains a loader which turns module identifiers into maker functions, which can then be instantiated with some capabilities. (For the current stage of our proposal, it is wrapped in a "require()" function that uses a "sandbox" abstraction, but this fact may be safely ignored because it is just a thin layer on top of maker functions.)<br>
<br>So far, we have left somewhat open the question of the syntax and semantics of module identifiers. This document, with lots of help from Kris and MarkM, is an attempt to address this question a bit:<br><br> <a id="publishedDocumentUrl" class="tabcontent" target="_blank" href="http://docs.google.com/Doc?id=dfgxb7gk_61d47876fr">http://docs.google.com/Doc?id=dfgxb7gk_61d47876fr</a><br>
<br>Comments welcome as always.<br><br>Ihab<br clear="all"><br>-- <br>Ihab A.B. Awad, Palo Alto, CA<br>