Hey, a namsepaces discussoin! (Was: Re: Partitioning the image (was Re: Shrinking sucks!))

Bert Freudenberg bert at impara.de
Sun Feb 20 18:39:17 UTC 2005

Am 19.02.2005 um 19:55 schrieb Ned Konz:

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

Doesn't this only fit with file-based languages?

- Bert -

More information about the Squeak-dev mailing list