Exporting Namespaces

Alan Lovejoy squeak-dev.sourcery at forum-mail.net
Sun Feb 18 22:22:05 UTC 2007


Michael,
 
I don't understand your issue.  You say you want to "get Namespaces out of
an image."  What, precisely, do you mean by that? What's the connection
between having namespaces and needing to change the location-of-record for
method sources?  Shouldn't those two issues be indepedent of each other?
 
Namespaces should do the following: 
 
    1) **Transparently** replace "shared pool dictionaries"; and
 
    2) Enable "the same global name" to refer to different values in the
context of different classes (or perhaps even different methods) without
requiring any change to existing method sources or to the syntax of variable
names (Namespaces should be completely orthogonal to syntactical issues,
such as whether to enable "MyPackage.MyClass" or "MyPackage::MyClass" or
"MyPackage#MyClass" as new syntax for referring to variables in specific
namespaces.)
 
--Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20070218/1a4c8c2d/attachment.htm


More information about the Squeak-dev mailing list