[REBOL] Re: link to background on Rebol language design?
From: maximo:meteorstudios at: 22-Aug-2003 10:08
> -----Original Message-----
> From: Robert M. Muench [mailto:[robert--muench--robertmuench--de]]
> Sent: Friday, August 22, 2003 2:47 AM
> To: [rebol-list--rebol--com]
> Subject: [REBOL] Re: link to background on Rebol language design?
>
> > -----Original Message-----
> > From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]
> > On Behalf Of Brett Handley
> > Sent: Thursday, August 21, 2003 2:47 AM
> > To: [rebol-list--rebol--com]
> > Subject: [REBOL] Re: link to background on Rebol language design?
>
> > One interesting mental model I occassionally use is to
> > visualise a matrix, with REBOL words as row labels and
> > different contexts being columns (mostly anonymous).
>
> Hi, this leads me to a question: Is it possible to list all contexts a
> word! is defined in? I know that there are a lot of anonymous
> contexts,
I do not think its possible, since each word stores its context locally... we'd have
to get a pointer to all contexts in ram.
since the GC actually does check if a context is being used, there might be a way to
get a list of all of them, but I am not sure if its accessible from the code's POV.