> ikarus == ikarus --no-script > ikarus <file> <arg>* == ikarus --script <file> <arg>*
These two look good. Presumably the only other case is --r6rs-script (i.e. scheme-script or Chez's --program)? > > The command-line options need serious reworking. Any suggestions > welcome. > > Aziz,,, > > > On May 31, 2009, at 1:42 PM, Abdulaziz Ghuloum wrote: > >> [resending due to incompetence of my to-be-ditched hosting provider] >> >> Commit log entry attached. Enjoy. >> >> Aziz,,, >> >> revno: 1805 >> committer: Abdulaziz Ghuloum <[email protected]> >> branch nick: ikarus >> timestamp: Sun 2009-05-31 13:32:33 +0300 >> message: >> NEW: ikarus --r6rs-repl <script-name> >> runs the script according to the R6RS semantics, then starts a >> repl in an interaction environment made of everything visible >> (imported and defined) in the script. >> >> Use cases include: >> * debugging a script. >> * starting ikarus in some predefined environment, e.g., >> $ ikarus --r6rs-repl rnrs.ss >> where rnrs.ss contains (import (rnrs)) >> >> Also, interaction-environment is made a parameter with an initial >> value set prior to entering the repl. >> >> > >
