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

[REBOL] PREBOL questions

From: robert:muench:robertmuench at: 24-Nov-2002 12:47

Hi, I want to get some feedback about PREBOL and I have some questions/ideas for it. At the moment Rebol doens't has any library concept how to reuse commone code. I know that several people have done their own solution. But as always these are not complatible or need a bit infrastructure around your Rebol development process (specific directories, specific source-code method,...). Now we have PREBOL. It's already a cool script but how do you use it while developing? I don't want to run PREBOL each time. So I need something like a native "include" (I'm currently just using DO). It works but I'm not sure if there aren't better ways to do it. Any comments? Further I would like to be able to write the PREBOL directives while developing. But adding #include to my scripts won't run it with the normal Rebol interpreter. So how about using ;#include for PREBOL? It shouldn't be to hard I think. AFAIK PREBOL will include the whole file. Is there any way to find our what stuff is used from an include file and to strip the unused code? At the moment I'm using one big library file. So even for small scripts, everything is included. I know that Rebol is very dynamic etc. but maybe it's possible to write a trace-log, that can later be used by PREBOL for filtering. What do you think? Robert