diff options
Diffstat (limited to 'gambit.init')
-rw-r--r-- | gambit.init | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/gambit.init b/gambit.init index 255476f..45dd4e2 100644 --- a/gambit.init +++ b/gambit.init @@ -1,21 +1,7 @@ -;;;"gambit.init" Initialisation for SLIB for Gambit -*-scheme-*- -;;; Copyright (C) 1991, 1992, 1993, 1994, 1997 Aubrey Jaffer -; -;Permission to copy this software, to redistribute it, and to use it -;for any purpose is granted, subject to the following restrictions and -;understandings. -; -;1. Any copy made of this software must include this copyright notice -;in full. -; -;2. I have made no warrantee or representation that the operation of -;this software will be error-free, and I am under no obligation to -;provide any services, by way of maintenance, update, or otherwise. -; -;3. In conjunction with products arising from the use of this -;material, there shall be no use of my name in any advertising, -;promotional, or sales literature without prior written consent in -;each case. +;;;"gambit.init" Initialization for SLIB for Gambit -*-scheme-*- +;;; Author: Aubrey Jaffer +;;; +;;; This code is in the public domain. ;;; Updated 1992 February 1 for Gambit v1.71 -- by Ken Dickey ;;; Date: Wed, 12 Jan 1994 15:03:12 -0500 @@ -23,11 +9,25 @@ ;;; Relative pathnames for Slib in MacGambit ;;; Hacked yet again for Gambit v2.4, Jan 1997, by Mike Pope -(define (software-type) 'UNIX) ; 'MACOS for MacGambit. +(define (software-type) 'MACOS) ; for MacGambit. +(define (software-type) 'UNIX) ; for Unix platforms. (define (scheme-implementation-type) 'gambit) -(define (scheme-implementation-version) "2.4") +;;; (scheme-implementation-home-page) should return a (string) URL +;;; (Uniform Resource Locator) for this scheme implementation's home +;;; page; or false if there isn't one. + +(define (scheme-implementation-home-page) + "http://www.iro.umontreal.ca/~gambit/index.html") + +(define (scheme-implementation-version) "3.0") +;;; Jefferson R. Lowrey reports that in Gambit Version 3.0 +;;; (argv) returns '(""). +(define argv + (if (equal? '("") (argv)) ;Fix only if it is broken. + (lambda () '("Lowrey HD:Development:MacGambit 3.0:Interpreter")) + argv)) ;;; (implementation-vicinity) should be defined to be the pathname of ;;; the directory where any auxillary files to your Scheme @@ -58,7 +58,7 @@ (let ((library-path (case (software-type) ((UNIX) "/usr/local/lib/slib/") - ((MACOS) (string-append (implementation-vicinity) ":slib:")) + ((MACOS) (string-append (implementation-vicinity) "slib:")) ((AMIGA) "dh0:scm/Library/") ((VMS) "lib$scheme:") ((WINDOWS MS-DOS) "C:\\SLIB\\") |