Commit Graph

123 Commits

Author SHA1 Message Date
Abdulaziz Ghuloum 6b2e48efb7 before adding make-once thunks 2006-12-03 14:36:45 -05:00
Abdulaziz Ghuloum 6c30b75e57 * Copy propagation for constants and primrefs works. 2006-12-03 13:45:51 -05:00
Abdulaziz Ghuloum 787264e8cf * Vars now have a ``referenced'' field to be used by the optimizer.
* Uncover-assigned is renamed to uncover-assigned/referenced.
2006-12-03 11:23:03 -05:00
Abdulaziz Ghuloum 0e07a37f60 added documentation to new-cafe 2006-12-03 09:17:28 -05:00
Abdulaziz Ghuloum 99757011a6 added a couple of docs 2006-12-03 09:05:24 -05:00
Abdulaziz Ghuloum df16339018 removed some junk from libchezio 2006-12-03 05:17:08 -05:00
Abdulaziz Ghuloum c33c80285e deleted some junk from compiler 2006-12-02 18:20:20 -05:00
Abdulaziz Ghuloum 9758e3702f removed some junk code 2006-12-02 16:11:43 -05:00
Abdulaziz Ghuloum d1cbb8ce2e Write displays "\r" properly. 2006-12-02 16:07:51 -05:00
Abdulaziz Ghuloum 8642ac5305 * Write now displays "\n" properly. 2006-12-02 15:58:41 -05:00
Abdulaziz Ghuloum bd4553ef3a added documentation for substring 2006-12-02 11:34:47 -05:00
Abdulaziz Ghuloum aac9071f2a Load now takes an optional second argument, which must be a
procedure that would be applied to every expression in the file.
The default value for this procedure is eval.
2006-12-02 10:57:50 -05:00
Abdulaziz Ghuloum e32a8cc972 --script now passes the script name as a first argument to command-line-arguments 2006-12-02 10:29:25 -05:00
Abdulaziz Ghuloum 2fdaf456f8 * Added a comment-handler parameter that binds a procedure to be invoked
everytime a multiline comment is found.
2006-12-02 10:11:57 -05:00
Abdulaziz Ghuloum fa1141b57d renamed current-error-handler to error-handler 2006-12-02 06:26:05 -05:00
Abdulaziz Ghuloum cd8fea1a05 removed flush-output-port from makefile.ss 2006-12-02 05:59:09 -05:00
Abdulaziz Ghuloum 431ea890a3 * bug fix: Formatted output now flushes the output port.
* --script now takes a required script name as an argument.
2006-12-02 05:56:42 -05:00
Abdulaziz Ghuloum 4261e71b24 Fixed Makefile to use the newly acquired scripting capabilities. 2006-12-02 05:34:41 -05:00
Abdulaziz Ghuloum cfc1fcdb37 * Added a --script option to ikarus. If --script is passed as an
argument, then the greeting is suppressed and no cafe is entered.

* Example 1 (non-script): script.ss contains
     #!/usr/bin/ikarus
     (display "Hello Script\n")
   
     $ ./script.ss
     Ikarus Scheme (Build 2006-12-02)
     Copyright (c) 2006 Abdulaziz Ghuloum
     
     Hello Script
     > 
  
* Example 2 (script): script.ss contains
     #!/usr/bin/ikarus --script
     (display "Hello Script\n")
   
     $ ./script.ss
     Hello Script
     $
2006-12-02 05:28:11 -05:00
Abdulaziz Ghuloum 23ff529aa2 * Load now skips the first line of a file if that line starts with
a shebang "#!".
2006-12-02 05:02:05 -05:00
Abdulaziz Ghuloum d04eb83cf3 Added PATH search.
* If argv[0] contains a '/', then we look for argv[0]++".boot"
* Otherwise, search the path[i] for where argv[0] came from and
  append ".boot" to that.
2006-12-01 11:18:01 -05:00
Abdulaziz Ghuloum d0355ead97 Changes makefile.ss to reflect the new directory structure. 2006-12-01 10:41:13 -05:00
Abdulaziz Ghuloum 5bb14cad6e renamed:
runtime => bin
  src => lib
2006-12-01 10:40:21 -05:00