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

Reinout Heeck reinz at desk.org
Sat Feb 19 13:52:36 UTC 2005


I have been asked to provide some references.


Here is the relevant portion of the standard:
  http://www.taygeta.com/forth/dpans16.htm (particularly chapter 16.6)
and its rationale:
  http://www.taygeta.com/forth/dpansa16.htm

Unfortunately these are barely legible for non-forthers, here are some (very 
rough) mappings to help (forth -> St)
  system dictionary -> object heap (where some objects have names...)
  word list -> a SystemDictionary
  wid -> reference to a SystemDictionary
  Search-Order -> list of SytemDictionaries
  compilation word list -> target namespace (SystemDictionary)

Note the minimal search order need resolve only two names (see 16.6.2.1965)


Here is a slightly more readable version of same in the GForth manual:
  http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/Word-Lists.html#Word%20Lists



And if you want to get into Forth here's a list of tutorials
  http://www.forth.org/tutorials.html

R
-



More information about the Squeak-dev mailing list