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

[REBOL] Building scripts

From: brett::codeconscious::com at: 16-Jan-2002 22:34

Currently for my various rebsite scripts I use load-thru as a way of re-using code. Sometimes I think it would be nice to have all functions contained within a single script, but obviously maintenance would be a pain. Rugby's build idea attracted me. It might be nice to have a library of code snippets which can be assembled/generated into scripts on demand. Ie reuse of code via direct inclusion. One advantage over my current re-use technique would be that the scripts would only instantiate what was required to make them run rather than, as is now, potentially creating functions, etc that are never evaluated. Directly including code is not for every system, but for many situations has very useful properties. Given that Rebol scripts are destined to fly over the net such a system would be quite useful. Brett.