[REBOL] Re: [newbie] Can REBOL scripts be "packaged" as a .exe file?
From: SunandaDH:aol at: 6-Aug-2003 12:06
Welcome to REBOL, Arie!
> is it possible to kind of compile REBOL scripts to an exe file?
Sort of. The script below "compiles" a list of xxx.r scripts into a
binarized xxx.rll files:
REBOL [title: "compile script"
author: "Sunanda"
]
foreach scr [%script1 %script2 %script8][
print ["writing" scr]
write/binary join scr ".rll" compress mold load join scr ".r"
]
Then, in a header script at the start of the application, instead of
writing:
do %script1.r
use:
do load decompress read/binary %script1.rll
All comments and unnecessary spacing is removed from the "rll" file by mold
load.
Sunanda.
Sunanda.