Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: 'use question

From: joel:neely:fedex at: 30-Oct-2002 10:37

Hi, Scott, G. Scott Jones wrote:
> Even more interesting. My guess (that I don't know how to prove) > is that the lexical scanner (thanks Joel, nice to learn new > vocabulary) reduces this line of "data" before becoming "code." > Once the code segment, pointed to by f, is ready, the other parts > are no longer referenced and marked for garbage collection. >
AFAICT REBOL doesn't distinguish between "code" and "data". The loading process simply turns a string (what you typed into the console window or read from a disk file) into an internal structure (i.e., block) that can *either* be evaluated for effect/value or be navigated as the subject of other evaluations. It *is* my belief that the string typed into the console window has a limited lifetime, and it is possible for loading to create blocks which nothing refers to after a short while...
> (So, sorry Joel, for fun this "kid" *is* doing this at home! :-) >
Perfectly OK to play with it at home, just don't expect to make a living writing such things... ;-) (You can supply your own puns regarding the contrasts between: private public local global at home in public ;-) -jn- -- ---------------------------------------------------------------------- Joel Neely joelDOTneelyATfedexDOTcom 901-263-4446