SKETCHY(1) SketchyLISP Interpreter SKETCHY(1)NAMEsketchy ‐ SketchyLISP interpreter
USAGEsketchy [‐bBi] [‐n nodes] [‐m vcells] [‐l image] [‐f prog]
sk [‐bBi] [‐n nodes] [‐m vcells] [‐l image] [‐f prog]
DESCRIPTION
SketchyLISP is an interpreter for a purely applicative
dialect of Scheme. It may be considered an implementation of
pure LISP plus global definitions and some input/output
procedures.
The sketchy command starts the interpreter.
The sk command also starts the interpreter, but attempts to
load workspace images and shared libraries from the current
working directory.
OPTIONS
‐b
‐B
Batch mode. In batch mode meta commands cause no
confirmative messages, and the interpreter exits in case
of an error rather than returning to the read‐eval‐print
loop. When ‐b is used, unspecific normal forms do not
print.
‐i
Init mode. Init mode is used to build the initial image
file. No image is loaded. Do not use this option.
‐n nodes
‐m vcells
Specify the size of the node pool and vector cell pool
respectively. Larger pools (up to some limit) increase
performance. The node pool holds programs and data
(except for strings), the vcell pool holds strings. The
memory footprint is calculated as follows:
nodes * (sizeof(int) * 2 + 1) + vcells * sizeof(int)
‐l image
Load the given workspace image instead of the default
one.
‐f program
Load and run the given program, then exit. The program
must have a procedure of zero arguments called main.
This procedure is the entry point of the program. The ‐f
option implies ‐b.
REFERENCES
PREFIX/share/doc/sketchy/index.html
The SketchyLISP Reference manual.
SketchyLISP Page 1 SKETCHY(1)SKETCHY(1) SketchyLISP Interpreter SKETCHY(1)FILES
PREFIX/share/sketchy
The location of the SketchyLISP image, library sources
and example programs.
ENVIRONMENT
SKETCHYSRC
This variable points to a colon‐separated list of
directories. The require procedure and the :load and
:require meta commands search these directories for
source files.
AUTHOR
Nils M Holm <nmh@t3x.org>
SketchyLISP Page 2 SKETCHY(1)