diff options
Diffstat (limited to 'FAQ')
-rw-r--r-- | FAQ | 45 |
1 files changed, 24 insertions, 21 deletions
@@ -1,4 +1,4 @@ -FAQ (Frequently Asked Questions and answers) for SLIB Scheme Library (slib2a6). +FAQ (Frequently Asked Questions and answers) for SLIB Scheme Library (slib2c0). Written by Aubrey Jaffer (jaffer@ai.mit.edu). INTRODUCTION AND GENERAL INFORMATION @@ -17,13 +17,13 @@ Scheme is a programming language in the Lisp family. SLIB is currently supported by Chez, ELK 2.1, GAMBIT, MacScheme, MITScheme, scheme->C, Scheme48, T3.1, SCM and VSCM -[] How can I get SLIB? +[] How can I obtain SLIB? SLIB is available via ftp from: - ftp-swiss.ai.mit.edu:pub/scm/slib2a6.tar.gz - prep.ai.mit.edu:pub/gnu/jacal/slib2a6.tar.gz - ftp.maths.tcd.ie:pub/bosullvn/jacal/slib2a6.tar.gz - ftp.cs.indiana.edu:/pub/scheme-repository/imp/slib2a6.tar.gz + ftp-swiss.ai.mit.edu:pub/scm/slib2c0.tar.gz + prep.ai.mit.edu:pub/gnu/jacal/slib2c0.tar.gz + ftp.maths.tcd.ie:pub/bosullvn/jacal/slib2c0.tar.gz + ftp.cs.indiana.edu:/pub/scheme-repository/imp/slib2c0.tar.gz SLIB is also included with SCM floppy disks. @@ -44,13 +44,15 @@ prep.ai.mit.edu:pub/gnu/texinfo-3.1.tar.gz [] How often is SLIB released? -SLIB was released 9 times in 1993. +SLIB was released twice in 1996. [] What is the latest version? -The version as of this writing is slib2a6. +The version as of this writing is slib2c0. The latest documentation +is available online at: + http://www-swiss.ai.mit.edu/~jaffer/SLIB.html -[] What version am I using? +[] Which version am I using? The Version is in the first line of the files slib/FAQ, slib/ANNOUNCE, and slib/README. If you have Scheme and SLIB running, type @@ -162,7 +164,7 @@ message contains non-terminating or large expressions, the essential information of the message may be lost in the ensuing deluge. FORMAT as currently written in SLIB is not reentrant. Until this is -fixed exception handlers and errors which might occur while using +fixed, exception handlers and errors which might occur while using FORMAT cannot use it. MACROS @@ -180,8 +182,8 @@ powerful to accomplish tasks macros are often written to do. in SLIB? Most current Scheme implementations predate the adoption of the R4RS -macro specification. It turns out that all of the implementations -can support defmacro natively. +macro specification. All of the implementations except scheme48 +version 0.45 support defmacro natively. [] I did (LOAD "slib/yasos.scm"). The error I get is "variable define-syntax is undefined". @@ -192,25 +194,26 @@ The way to load the struct macro package is (REQUIRE 'YASOS). CELL?) The error I get is "variable define-predicate is undefined". -If like most implementations, your Scheme does not natively support -R4RS macros you will need to install a macro-capable read-eval-print -loop. This is done by: +If your Scheme does not natively support R4RS macros (most +implementations), you will need to install a macro-capable +read-eval-print loop. This is done by: (require 'macro) ;already done if you did (require 'yasos) (require 'repl) (repl:top-level macro:eval) -This is also true for Schemes which don't support DEFMACRO. The lines -in this case are: +This would also be true for a Scheme implementation which didn't +support DEFMACRO. The lines in this case would be: (require 'repl) (repl:top-level defmacro:eval) -[] I always use R4RS macros. How can I avoid having to type - require statements every time I start Scheme? +[] I always use R4RS macros with an implementation which doesn't + natively support them. How can I avoid having to type require + statements every time I start Scheme? -As is explained in the Repl entry in slib.info (or slib.texi): +As explained in the Repl entry in slib.info (or slib.texi): To have your top level loop always use macros, add any interrupt - catching lines and the following lines to your Scheme init file: + catching code and the following script to your Scheme init file: (require 'macro) (require 'repl) (repl:top-level macro:eval) |