clisp
- Common Lisp language interpreter and compiler
clisp
[ -h
]
[ -m
memsize ]
[ -M
memfile ]
[ -norc
]
[ -L
language ]
[ -N
localedir ]
[ -q
]
[ -I
]
[ -C
]
[ -i
initfile ... ]
[ -c
[ -l
] lispfile [ -o
outputfile ] ... ]
[ -p
packagename ]
[ -a
]
[ -x
expression ]
[ lispfile
[ argument ... ] ]
-c
,
the specified lisp files are compiled to a bytecode that can be executed
more efficiently.
-h
clisp
.
-m
memsize
clisp
tries to grab
on startup. The amount may be given as nnnnnnn (measured in bytes),
nnnn K
or nnnn KB
(measured in kilobytes) or
n M
or n MB
(measured in megabytes).
Default is 2 megabytes.
The argument is constrained above 100 KB.
-- This version of clisp
is not likely to actually use the entire memsize
since garbage collection will periodically reduce the amount of used memory.
It is therefore common to specify 10 MB even if only 2 MB are going to be used.
-M
memfile
-norc
clisp
loads a user run control (RC) file on
startup (this happens after the -C
option is processed).
The file loaded is
${HOME}/.clisprc.lsp
or ${HOME}/.clisprc.fas
,
whichever is newest. This option, -norc
, prevents loading of
the RC file.
-L
language
clisp
uses to communicate with the user. This may be
english
, deutsch
, francais
,
espanol
.
Other languages may be specified through the environment variable
LANG
,
provided the corresponding message catalog is installed.
-N
localedir
clisp
will search its message catalogs in
localedir/
language/LC_MESSAGES/clisp.
ext.
-q
clisp
displays no banner at startup and no good-bye message when quitting.
-I
clisp
interacts in a way that ILISP (a popular Emacs LISP interface) can deal with.
Currently the only effect of this is that unnecessary prompts are not
suppressed.
Furthermore, the GNU readline library treats Tab as a normal self-inserting
character.
-C
*load-compiling*
will be set to t
.
Code being load
ed will then be compiled on the fly. This results
in slower loading, but faster execution.
-i
initfile ...
load
ed
at startup. These should be lisp files (source or compiled).
-c
lispfile ...
load
ed instead of the sources to gain efficiency.
-o
outputfile
-l
-p
packagename
*package*
will
be set to the package named packagename.
-a
-x
expressions
*args*
will be bound to a list of strings, representing the arguments.
The first line of lispfile may start with #!
,
thus permitting clisp
to be used as a script interpreter.
If lispfile is -
, the standard input is used instead of
a file.
This option must be the last one. No RC file
will be executed.
Guy L. Steele Jr.: Common Lisp - The Language. Digital Press. 1st edition 1984, 465 pages. ("CLtL1" for short)and to the older parts of
Guy L. Steele Jr.: Common Lisp - The Language. Digital Press. 2nd edition 1990, 1032 pages. ("CLtL2" for short)
help
(apropos
name)
(exit)
or (quit)
or (bye)
clisp
.
clisp
lisp.run
lispinit.mem
config.lsp
*.lsp
*.fas
clisp
*.lib
clisp
compiler
*.c
clisp
CLISP_LANGUAGE
clisp
uses to communicate with the user. The value may be
english
, deutsch
, francais
and defaults to english
.
The -L
option can be used to override this environment variable.
LANG
clisp
uses to communicate with the user, unless it is already specified through
the environment variable CLISP_LANGUAGE
or the
-L
option. The value may begin with
a two-letter ISO 639 language code, for example
en
, de
, fr
.
HOME
and USER
user-homedir-pathname
. (Unix implementation only.)
SHELL
(Unix implementation only)
(shell)
.
TERM
See also
cmucl
(1),
xemacs
(1).
Bugs
inspect
is not implemented.
apropos
and describe
is available.
inspect
.
Last modified: 18 October 1998.