From fd5f104f287427fee885583bc398c137674e6af0 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 3 Mar 2017 00:56:40 -0800 Subject: New upstream version 5f2 --- scm.doc | 74 ++++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) mode change 100644 => 100755 scm.doc (limited to 'scm.doc') diff --git a/scm.doc b/scm.doc old mode 100644 new mode 100755 index 23a90d9..874cadd --- a/scm.doc +++ b/scm.doc @@ -1,4 +1,4 @@ -SCM(April 2006) SCM(April 2006) +SCM(1) SCM(1) @@ -16,7 +16,7 @@ SYNOPSIS DESCRIPTION Scm is a Scheme interpreter. - Upon startup scm loads the file specified by by the environment vari- + Upon startup scm loads the file specified by by the environment vari‐ able SCM_INIT_PATH or by the parameter IMPLINIT in the makefile (or scmfig.h) if SCM_INIT_PATH is not defined. The makefiles attempt to set IMPLINIT to "Init.scm" in the source directory. @@ -48,7 +48,7 @@ OPTIONS -eexpression -cexpression - specifies that the scheme expression expression is to be evalu- + specifies that the scheme expression expression is to be evalu‐ ated. These options are inspired by perl and sh respectively. On Amiga systems the entire option and argument need to be enclosed in quotes. For instance "-e(newline)". @@ -94,13 +94,13 @@ OPTIONS -q (quiet mode) specifies that scm will print no extra information. This is the same as -p0. - -m specifies that subsequent loads, evaluations, and user interac- + -m specifies that subsequent loads, evaluations, and user interac‐ tions will be with R4RS macro capability. To use a specific R4RS - macro implementation from SLIB (instead of SLIB’s default) put -r + macro implementation from SLIB (instead of SLIB's default) put -r macropackage before -m on the command line. - -u specifies that subsequent loads, evaluations, and user interac- - tions will be without R4RS macro capability. R4RS macro capabil- + -u specifies that subsequent loads, evaluations, and user interac‐ + tions will be without R4RS macro capability. R4RS macro capabil‐ ity can be restored by a subsequent -m on the command line or from Scheme code. @@ -112,69 +112,69 @@ OPTIONS subsequent options. If scm is started from a tty, it will assume that it should be interactive unless given a subsequent -b option. - -b specifies that scm should run non-interactively. That means that - scm will terminate after processing the command line or if there + -b specifies that scm should run non-interactively. That means that + scm will terminate after processing the command line or if there are errors. - -s specifies, by analogy with sh, that further options are to be + -s specifies, by analogy with sh, that further options are to be treated as program arguments. - -- specifies that there are no more options on the command line. ENVIRONMENT VARIABLES SCM_INIT_PATH - is the pathname where scm will look for its initialization code. + is the pathname where scm will look for its initialization code. The default is the file "Init.scm" in the source directory. SCHEME_LIBRARY_PATH is the SLIB Scheme library directory. - HOME is the directory where "Init.scm" will look for the user initial- + HOME is the directory where "Init.scm" will look for the user initial‐ ization file "ScmInit.scm". SCHEME VARIABLES *argv* - contains the list of arguments to the program. *argv* can change - during argument processing. This list is suitable for use as an + contains the list of arguments to the program. *argv* can change + during argument processing. This list is suitable for use as an argument to SLIB getopt. *R4RS-macro* - controls whether loading and interaction support R4RS macros. - Define this in "ScmInit.scm" or files specified on the command + controls whether loading and interaction support R4RS macros. + Define this in "ScmInit.scm" or files specified on the command line. This can be overridden by subsequent -m and -u options. *interactive* - controls interactivity as explained for the -i and -b options. - Define this in "ScmInit.scm" or files specified on the command + controls interactivity as explained for the -i and -b options. + Define this in "ScmInit.scm" or files specified on the command line. This can be overridden by subsequent -i and -b options. EXAMPLES % scm foo.scm arg1 arg2 arg3 - Load and execute the contents of foo.scm. Parameters arg1 arg2 + Load and execute the contents of foo.scm. Parameters arg1 arg2 and arg3 are stored in the global list *argv*. % scm -f foo.scm arg1 arg2 arg3 The same. % scm -s foo.scm arg1 arg2 - Set *argv* to ("foo.scm" "arg1" "arg2") and enter interactive ses- + Set *argv* to ("foo.scm" "arg1" "arg2") and enter interactive ses‐ sion. - % scm -e ’(display (list-ref *argv* *optind*))’ bar - Print ‘‘bar’’ + % scm -e '(display (list-ref *argv* *optind*))' bar + Print ``bar'' % scm -rpretty-print -r format -i Load pretty-print and format and enter interactive mode. % scm -r5 - Load dynamic-wind, values, and R4RS macros and enter interactive + Load dynamic-wind, values, and R4RS macros and enter interactive (with macros) mode. % scm -r5 -r4 Like above but rev4-optional-procedures are also loaded. FEATURES - Runs under Amiga, Atari-ST, MacOS, MS-DOS, OS/2, NOS/VE, Unicos, VMS, + Runs under Amiga, Atari-ST, MacOS, MS-DOS, OS/2, NOS/VE, Unicos, VMS, Unix and similar systems. Support for ASCII and EBCDIC character sets. Conforms to Revised^5 Report on the Algorithmic Language Scheme and the @@ -182,48 +182,48 @@ FEATURES Support for SICP, R2RS, R3RS, and R4RS scheme code. - Many Common Lisp functions: logand, logor, logxor, lognot, ash, log- - count, integer-length, bit-extract, defmacro, macroexpand, macroex- + Many Common Lisp functions: logand, logor, logxor, lognot, ash, log‐ + count, integer-length, bit-extract, defmacro, macroexpand, macroex‐ pand1, gentemp, defvar, force-output, software-type, get-decoded-time, get-internal-run-time, get-internal-real-time, delete-file, rename- file, copy-tree, acons, and eval. - Char-code-limit, most-positive-fixnum, most-negative-fixnum, and inter- + Char-code-limit, most-positive-fixnum, most-negative-fixnum, and inter‐ nal-time-units-per-second constants. *Features* and *load-pathname* variables. Arrays and bit-vectors. String ports and software emulation ports. I/O extensions providing most of ANSI C and POSIX.1 facilities. - User definable responses to interrupts and errors, Process-synchroniza- + User definable responses to interrupts and errors, Process-synchroniza‐ tion primitives, String regular expression matching, and the CURSES screen management package. Available add-on packages including an interactive debugger, database, X-window graphics, BGI graphics, Motif, and Open-Windows packages. - A compiler (HOBBIT, available separately) and dynamic linking of com- + A compiler (HOBBIT, available separately) and dynamic linking of com‐ piled modules. - Setable levels of monitoring and timing information printed interac- - tively (the ‘verbose’ function). Restart, quit, and exec. + Setable levels of monitoring and timing information printed interac‐ + tively (the `verbose' function). Restart, quit, and exec. FILES scm.texi - Texinfo documentation of scm enhancements, internal representa- + Texinfo documentation of scm enhancements, internal representa‐ tions, and how to extend or include scm in other programs. AUTHORS - Aubrey Jaffer (jaffer @ alum.mit.edu) - Radey Shouman (shouman @ ne.mediaone.net) + Aubrey Jaffer (agj@alum.mit.edu) + Radey Shouman BUGS SEE ALSO The SCM home-page: - http://swissnet.ai.mit.edu/~jaffer/SCM.html + http://people.csail.mit.edu/jaffer/SCM.html The Scheme specifications for details on specific procedures - (http://swissnet.ai.mit.edu/ftpdir/scheme-reports/) or + (http://groups.csail.mit.edu/mac/ftpdir/scheme-reports) or IEEE Std 1178-1990, IEEE Standard for the Scheme Programming Language, @@ -243,4 +243,4 @@ SEE ALSO -4th Berkeley Distribution SCM(April 2006) +4th Berkeley Distribution February 2008 SCM(1) -- cgit v1.2.3