Page 1 of 1

nesting contexts

Posted: Thu Mar 11, 2004 9:21 pm
by newdep
Hello Lutz,

Is it possible to have nested contexts (nested objects) ?

example:

>(context 'one)
one>(context 'two)
one'two>(context 'three)
one'two'three>(set 'four "value")
one'two'three>(context 'MAIN)

>one'two'three:four
"value"

Norman.

Posted: Fri Mar 12, 2004 3:28 pm
by Lutz
That was possible in an early implementation, but it introduces too much complexity (context hirarchiy ~ object hirarchy, scoping rules etc).

Lutz