[REBOL] Re: Library loader
From: antonr:iinet:au at: 12-Nov-2003 0:16
Pretty nice, straight-forward code.
Just at the end, you might like to
save a bit of code.
If word? Requires [Requires: reduce [Requires]]
Now you know it's a block and you can remove one if.
Is the infinite loop because the script keeps getting
deferred? Can you explain the flow in & out of the
stacks you have a bit?
Also watch out for load/header. In the rare case that
you have a script with only a header in it, and no
code following, load/header gives you the header object
back directly, not in a block. Usually, you get a block
with the header object in first position, followed by all
That bit me when I tried to process all my scripts using it.