[e-lang] Module naming and identification

ihab.awad at gmail.com ihab.awad at gmail.com
Thu Apr 9 20:40:53 EDT 2009


Hi folks,

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.)

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:

  http://docs.google.com/Doc?id=dfgxb7gk_61d47876fr

Comments welcome as always.

Ihab

-- 
Ihab A.B. Awad, Palo Alto, CA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.eros-os.org/pipermail/e-lang/attachments/20090409/5d7a246c/attachment.html 


More information about the e-lang mailing list