Commit Graph

1737 Commits

Author SHA1 Message Date
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 b09f5ba142 rebuilt 2006-12-01 11:18:23 -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
Abdulaziz Ghuloum 23dd55e7f6 removed Petite from the greeting 2006-12-01 10:20:50 -05:00
Abdulaziz Ghuloum 5e2e669683 manually fixed bzr-ignore file 2006-12-01 10:17:08 -05:00
Abdulaziz Ghuloum d24523376d * Ikarus can now be started like:
$ ikarus [-b boot-file-name] file ... [-- arg ...]
  
  files will be "load"ed sequentially after the greeting message is
  printes.  args are available from the command-line-arguments
  parameter.
2006-12-01 10:15:25 -05:00
Abdulaziz Ghuloum 0ff5b0cf75 * Added a $arg-list system primitive that accesses the pcb->arg_list
field.
* Added a command-line-arguments parameter to the core.
2006-12-01 10:02:05 -05:00
Abdulaziz Ghuloum 4b060b685f Added an arg_list field to the pcb which contains all command-line
arguments except -b (if it was there).
2006-12-01 09:52:12 -05:00
Abdulaziz Ghuloum f73a8c2333 added a bzr-ignore file 2006-12-01 09:24:10 -05:00
Abdulaziz Ghuloum ee0e6c91e7 Ikarus now recognizes a -b command-line argument for providing the
name of the boot file. If -b is missing, argv[0]++".boot" is used.
2006-12-01 09:23:37 -05:00
Abdulaziz Ghuloum c3401ef735 Bug fix: Equal handles numbers correctly now. 2006-11-30 18:28:44 -05:00
Abdulaziz Ghuloum 5cc06893ec The source now "works" on both OSX and Linux. 2006-11-30 18:20:45 -05:00
Abdulaziz Ghuloum 04238a8c38 re-ported to osx 2006-11-30 18:14:48 -05:00
Abdulaziz Ghuloum ce7b0d25cb ported back to linux 2006-11-30 18:12:01 -05:00
Abdulaziz Ghuloum c9516d07d6 removed the debugging message about gc stats at end of run 2006-11-29 18:45:13 -05:00
Abdulaziz Ghuloum 9eaaf3c438 added file-exists? and delete-file operations to libposix.ss and ikarus-runtime.c 2006-11-29 17:06:16 -05:00
Abdulaziz Ghuloum e97b39a39a implemented assoc 2006-11-28 06:54:07 -05:00
Abdulaziz Ghuloum f6a95c07d2 Removed all version names from files 2006-11-23 20:37:04 -05:00
Abdulaziz Ghuloum 10268dfc43 Fixed makefiles 2006-11-23 20:18:02 -05:00
Abdulaziz Ghuloum 9b961aa3a5 removed libassembler.ss from watchfile 2006-11-23 20:08:01 -05:00
Abdulaziz Ghuloum 9397527c3d fixed output of assembler.fasl in compiler-9.2.ss 2006-11-23 20:06:46 -05:00
Abdulaziz Ghuloum 61b10b1951 added a top-level README 2006-11-23 20:02:07 -05:00
Abdulaziz Ghuloum 02e616f5c5 moved runtime directory to top-level 2006-11-23 19:58:06 -05:00
Abdulaziz Ghuloum 38587f499b removed bzrignore 2006-11-23 19:57:14 -05:00
Abdulaziz Ghuloum 9cee9841de imported compiler5-osx 2006-11-23 19:53:15 -05:00
Abdulaziz Ghuloum 1101ba6edb imported compiler5 2006-11-23 19:48:14 -05:00
Abdulaziz Ghuloum 3815bebb4c import from compiler4 2006-11-23 19:44:29 -05:00
Abdulaziz Ghuloum 03e9649064 imported compiler3 2006-11-23 19:42:39 -05:00
Abdulaziz Ghuloum bd94bedc04 import from compiler2 2006-11-23 19:40:06 -05:00
Abdulaziz Ghuloum 3e7726203a imported compiler1 2006-11-23 19:38:26 -05:00
Abdulaziz Ghuloum d3313cd737 import from compiler0 2006-11-23 19:33:45 -05:00