diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:27 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:27 -0800 |
commit | fa3f23105ddcf07c5900de47f19af43d1db1b597 (patch) | |
tree | b2c6cce6b97698098f50cbc78c23fdc0f8d401ab /FAQ | |
parent | f24b9140d6f74804d5599ec225717d38ca443813 (diff) | |
download | slib-upstream/2c3.tar.gz slib-upstream/2c3.zip |
Import Upstream version 2c3upstream/2c3
Diffstat (limited to 'FAQ')
-rw-r--r-- | FAQ | 46 |
1 files changed, 21 insertions, 25 deletions
@@ -1,5 +1,5 @@ -FAQ (Frequently Asked Questions and answers) for SLIB Scheme Library (slib2c0). -Written by Aubrey Jaffer (jaffer@ai.mit.edu). +FAQ (Frequently Asked Questions and answers) for SLIB Scheme Library (slib2c3). +Written by Aubrey Jaffer (http://www-swiss.ai.mit.edu/~jaffer). INTRODUCTION AND GENERAL INFORMATION @@ -14,16 +14,14 @@ Scheme is a programming language in the Lisp family. [] Which implementations has SLIB been ported to? -SLIB is currently supported by Chez, ELK 2.1, GAMBIT, MacScheme, -MITScheme, scheme->C, Scheme48, T3.1, SCM and VSCM +SLIB is supported by Chez, ELK 2.1, GAMBIT, MacScheme, MITScheme, +scheme->C, Scheme48, T3.1, SCM and VSCM [] How can I obtain SLIB? SLIB is available via ftp from: - 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 + ftp-swiss.ai.mit.edu:pub/scm/slib2c3.tar.gz + prep.ai.mit.edu:pub/gnu/jacal/slib2c3.tar.gz SLIB is also included with SCM floppy disks. @@ -44,11 +42,11 @@ prep.ai.mit.edu:pub/gnu/texinfo-3.1.tar.gz [] How often is SLIB released? -SLIB was released twice in 1996. +Several times a year. [] What is the latest version? -The version as of this writing is slib2c0. The latest documentation +The version as of this writing is slib2c3. The latest documentation is available online at: http://www-swiss.ai.mit.edu/~jaffer/SLIB.html @@ -65,9 +63,8 @@ and slib/README. If you have Scheme and SLIB running, type Did you remember to set either the environment variable SCHEME_LIBRARY_PATH or the library-vicinity in your initialization -file to the correct location? Make sure if you set only the -environment variable SCHEME_LIBRARY_PATH that your implementation -supports getenv. +file to the correct location? If you set SCHEME_LIBRARY_PATH, make +sure that the Scheme implementation supports getenv. [] When I load an SLIB initialization file for my Scheme implementation, I get ERROR: Couldn't find @@ -113,15 +110,15 @@ Scheme implementation. Before you can use most SLIB functions, the associated module needs to be loaded. You do this by typing the line that appears at the top of the page in slib.info (or slib.texi) where the function is documented. -In the case of random, the line is (require 'random). +In the case of random, that line is (require 'random). [] Why doesn't SLIB just load all the functions so I don't have to type require statements? -SLIB currently has more than 1 Megabyte of Scheme source code. Many -scheme implementations take unacceptably long to load 1 Megabyte of -source; some implementations cannot allocate enough storage. If you -use a package often, you can put the require statement in your Scheme +SLIB has more than 1 Megabyte of Scheme source code. Many scheme +implementations take unacceptably long to load 1 Megabyte of source; +some implementations cannot allocate enough storage. If you use a +package often, you can put the require statement in your Scheme initialization file. Consult the manual for your Scheme implementation to find out the initialization file's name. @@ -152,7 +149,7 @@ the desired length it can displace other fields off the page. Once again, printf gets it right: (printf "%.20s\n" "the quick brown fox jumped over the lazy dog") - ==> the quick brown fox + ==> the quick brown fox FORMAT also lacks directives for formatting date and time. printf does not handle these directly, but a related function strftime does. @@ -181,9 +178,9 @@ powerful to accomplish tasks macros are often written to do. [] Why are there both R4RS macros and Common-Lisp style defmacros in SLIB? -Most current Scheme implementations predate the adoption of the R4RS -macro specification. All of the implementations except scheme48 -version 0.45 support defmacro natively. +Most Scheme implementations predate the adoption of the R4RS 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". @@ -194,9 +191,8 @@ The way to load the struct macro package is (REQUIRE 'YASOS). CELL?) The error I get is "variable define-predicate is undefined". -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: +If your Scheme does not natively support R4RS macros, 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) |