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

[REBOL] Re: Rebol pickling recipes ?

From: laurent:giroud:libertysurf at: 5-Oct-2002 19:56

Hi Anton and Gabriele, thanks for your answers, this makes effectively much sense now. I'm glad I asked since I now have a better vision of how rebol handles data internally. It's hard to get a grasp on it at the beginning, making the difference beetween a word and its value, understanding that rebol code is no more than blocks and strings until it gets 'loaded and evaluated (via 'do). So I appreciate much to be able to see a bit further in that area, thanks again ! LG>> And if this possible context "confusion" exists is there any way to make sure LG>> that objects are saved along with all the necessary context ?
> Well, with a lot of effort, you could do it, but you'd probably > end up MOLDing the whole system.
Is it possible ? If I am right this would allow a kind of persistent rebol environment : 'molding system before quitting and 'loading it a few days later and finding the environment exactly in the same state. That could have many applications. Wouldn't it be a way to implement modules for a Rebol/HardBase version which would have nothing but native functions available ? -> Just 'loading carefully molded data containing only what's needed for a specific use. Would this be possible ? It would be interesting to know if the current "program counter" is part of the system data as this might allow running scripts to be restored at the exact point where they stopped, this would useful too in some cases. Do you think it's feasible ? Regards, Laurent -- Laurent Giroud