On Jun 1, 2009, at 12:41 PM, Derick Eddington wrote:

How would you change the
options if we want an explicit "--load"?

"ikarus --repl --load <file>*" loads the files into an interaction
environment of (import (ikarus)) and then starts a REPL in that
environment.

"ikarus --load <file>*" loads the files into an interaction environment
of (import (ikarus)) and then exits.


[Let's call import-ikarus--print-greeting.sps main.sps.]

What about "ikarus foo bar baz" where foo, bar, and baz are nonoptions?

Should that be equivalent to
  ikarus --repl --load foo bar baz   (current behavior)
or
  ikarus --r6rs-script foo bar baz   (current scheme-script behavior)
or
  ikarus --repl --r6rs-script main.sps foo bar baz
(consistent with proposed behavior)
or
  ikarus --repl --r6rs-script foo bar baz
(more useful, foo replaces main.sps)
or
  something else?

Aziz,,,

Reply via email to