Module naming and identification

[email protected]
Newsgroups gmane.comp.lang.e.general
Message-ID <[email protected]>
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

_______________________________________________
e-lang mailing list
[email protected]
http://www.eros-os.org/mailman/listinfo/e-lang
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.