[REBOL] Re: PREBOL questions
From: nitsch-lists:netcologne at: 24-Nov-2002 16:00
Robert M. Muench wrote:
>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
>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
why not building each time?
when using building scripts i have a [do %buidl-and-run.r quit]
at the top of of each subscript and the building script deletes that.
maybe an extension: #delete [do %buidl-and-run.r quit]?
or the editor runs the building script in the directory instead of the