[REBOL] Re: Library loader
From: antonr:iinet:au at: 12-Nov-2003 18:27
I think the problem is that the stack of files
you maintain does not include any information
about dependencies, so you can't check later
that they have been provided for.
The stack is a simple list of files that
only tells you in what order to do them.
Perhaps you can maintain two lists:
- All-Provided: all the words provided by all the scripts
- All-Required: all the words required by all the scripts
then you can check if there are any missing by looking
in exclude All-Required All-Provided .
But if I were you, I'd probably redesign the algorithm
and just rewrite it. It's short enough.
Anton.