On Thu, 2008-10-30 at 12:55 -0700, Derick Eddington wrote: > On Thu, 2008-10-30 at 02:11 -0400, Abdulaziz Ghuloum wrote: > > I can make this work for r6rs scripts by allowing the user to > > specify a list of library files (each containing any number of > > libraries) from the command line as in: > > > > $ ikarus library-files ... --r6rs-script program-file args ... > > > > I think this would be useful and consistent with the other > > mode of invoking ikarus. I'll wait for opinions before pursuing > > this change. > > This sounds really useful. Sometimes I want to try a different copy of > a library and what I've been doing is manually loading it from the REPL > so that the one in the search path is not used, and then loading a > program to run using that different library.
Of course, I could have been doing "ikarus library-files ... program-file" or "ikarus library-files ... --script program-file" to accomplish the same thing without manually loading files from the REPL. But either way uses the interaction environment which is different than official R6RS top-level program mode, so having the ability to use library files from the command-line in R6RS top-level program mode would be good. -- : Derick ----------------------------------------------------------------
