diff options
author | Thomas Bushnell, BSG <tb@debian.org> | 2008-02-04 20:29:13 -0500 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:41 -0800 |
commit | 71dab84adaa579f9386dd8ee09006d3cac625723 (patch) | |
tree | 8022514642d25edffdb4bdd130020674b0efd844 /scsh.init | |
parent | 897451458bd8eec628c7bbfaccba0dd069830f0f (diff) | |
parent | 4684239efa63dc1b2c1cbe37ef7d3062029f5532 (diff) | |
download | slib-71dab84adaa579f9386dd8ee09006d3cac625723.tar.gz slib-71dab84adaa579f9386dd8ee09006d3cac625723.zip |
Import Debian changes 3b1-1debian/3b1-1
slib (3b1-1) unstable; urgency=low
* New upstream release.
* guile.init (library-vicinity): Repeat change from 3a4-2.
* slib.texi (Library Catalogs): Repeat change from 3a3-3.
* slib.sh: Repeat change from 3a5-3.
* slib.1: Repeat change from 3a5-4.
* Makefile: Repeat change from 3a2-1.
Diffstat (limited to 'scsh.init')
-rw-r--r-- | scsh.init | 26 |
1 files changed, 16 insertions, 10 deletions
@@ -81,8 +81,7 @@ ;@ (define sub-vicinity (case (software-type) - ((vms) (lambda - (vic name) + ((vms) (lambda (vic name) (let ((l (string-length vic))) (if (or (zero? (string-length vic)) (not (char=? #\] (string-ref vic (- l 1))))) @@ -123,6 +122,7 @@ ;(SLIB:LOAD-COMPILED "filename") vicinity srfi-59 + srfi-96 ;; Scheme report features ;; R5RS-compliant implementations should provide all 9 features. @@ -166,11 +166,11 @@ ;; Other common features -;;; srfi ;srfi-0, COND-EXPAND finds all srfi-* +;;; srfi-0 ;srfi-0, COND-EXPAND finds all srfi-* ;;; sicp ;runs code from Structure and ;Interpretation of Computer ;Programs by Abelson and Sussman. -;;; defmacro ;has Common Lisp DEFMACRO + defmacro ;has Common Lisp DEFMACRO ;;; record ;has user defined data structures ;;; string-port ;has CALL-WITH-INPUT-STRING and ;CALL-WITH-OUTPUT-STRING @@ -183,13 +183,16 @@ ;;; ed ;(ED) is editor ;;; system ;posix (system <string>) getenv ;posix (getenv <string>) -;;; program-arguments ;returns list of strings (argv) + program-arguments ;returns list of strings (argv) ;;; current-time ;returns time in seconds since 1/1/1970 ;; Implementation Specific features )) +;;@ http://practical-scheme.net/wiliki/schemexref.cgi?command-line +(define program-arguments command-line) + ;;@ (FILE-POSITION <port> . <k>) (define (file-position port . args) (if (null? args) @@ -272,10 +275,6 @@ (define (slib:eval form) (eval form (interaction-environment))) -;;; If your implementation provides R4RS macros: -(define macro:eval slib:eval) -(define macro:load load) - (define *defmacros* (list (cons 'defmacro (lambda (name parms . body) @@ -313,7 +312,6 @@ (define (defmacro:load pathname) (slib:eval-load pathname defmacro:eval)) -;; slib:eval-load definition moved to "require.scm" (define slib:warn (lambda args @@ -369,6 +367,14 @@ ;;; At this point SLIB:LOAD must be able to load SLIB files. (define slib:load slib:load-source) +;;; If your implementation provides R4RS macros: +(define macro:eval slib:eval) +(define macro:load slib:load-source) + +;;; If your implementation provides syntax-case macros: +;;(define syncase:eval slib:eval) +;;(define syncase:load slib:load-source) + ;;; Scheme48 complains that these are not defined (even though they ;;; won't be called until they are). (define synclo:load #f) |