[REBOL] Re: Context - code included- 2nd version
From: lmecir:mbox:vol:cz at: 16-Sep-2001 10:06
just posted the latest version of http://www.sweb.cz/LMecir/contexts.html
with terminological changes reflecting Holger's recommendations. Moreover,
the CFUNC implementation it contains doesn't rely on the values of function
context words after the function returns.
> Replace "Special Word" with "word not bound into a context".
This surely is more accurate than the notion of "undefined word", but It
would make the text less concise than I considered acceptable
> Replace "Loaded Word" with "word which exists in the global context".
Removed the notion completely, used a different notion of
> Replace "Global Word" with "word bound into the global context".
I preferred conciseness in this case
> Replace "Local Word" with "word bound into a non-global context".
Again I preferred conciseness, because it didn't seem to introduce any
> - The global context expands automatically as new words are bound into it.
> The fact that this increases the number of "Loaded Words" is redundant
> (again, result of obscure terminology).
> - Scoping: REBOL uses lexical scoping, not dynamic scoping, but allows
> to be rebound during block evaluation. That's how words can refer to
> contexts even though their scope is lexical. "Scope hierarchies" imply
> kind of tree, which does not exist, so using that term is probably a bad
> Calling a scope hierarchy "virtual" is yet another definition which
> facts rather than illustrates them.