Hey,
a namsepaces discussoin! (Was: Re: Partitioning the image (was Re:
Shrinking sucks!))
Ned Konz
ned at squeakland.org
Sat Feb 19 18:55:31 UTC 2005
On Saturday 19 February 2005 2:27 am, Reinout Heeck wrote:
> In forth namespaces are just SystemDictionaries. There is a stack of
> namespace references called SEARCH-ORDER that the module under load is free
> to manipulate at load time (provided is has references to the namespaces it
> wants to stick in the search order). Name lookup works very simply by
> walking all the namespaces on the search-order until it finds a hit. No
> ambiguities to resolve (just like in St method lookup).
This is the same as the lookup scheme in Perl.
--
Ned Konz
http://bike-nomad.com/squeak/
More information about the Squeak-dev
mailing list
|