Commit Graph

5 Commits

Author SHA1 Message Date
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 5bb14cad6e renamed:
runtime => bin
  src => lib
2006-12-01 10:40:21 -05:00