SBCL(1) General Commands Manual SBCL(1) (NAME) sbcl - Steel Bank Common Lisp (DESCRIPTION) SBCL ANSI Common Lisp (threads) . (public domain) BSD . << >> . COPYING . CREDITS . SBCL (RUNNING SBCL) SBCL <> . (<<*>>) . Lisp SBCL . $ sbcl ...[startup messages elided]... * (+ 1 2 3) 6 * (exit) SBCL Emacs . <> Emacs (tab completion) Common Lisp SBCL . << >> SBCL SB-EXT:SAVE-LISP-AND-DIE . (COMMAND LINE SYNTAX) . SBCL : (runtime environment) Common Lisp . Lisp -- . : sbcl [runtime options] --end-runtime-options [toplevel options] --end-toplevel-options [user options] --end-runtime-options --end-toplevel-options . ( ): SBCL . : --core (core) Lisp . ( FILES SB-EXT:SAVE-LISP-AND-DIE .) Lisp (toplevel) toplevel . --dynamic-space-size (dynamic space) . . --control-stack-size (control stack) . 2 . --tls-limit (thread-local symbols) . 4096 . --noinform . ( Lisp . <<--noprint>> <<--disable-debugger>> .) --disable-ldb (low-level debugger). SBCL LDB . --lose-on-corruption ( ) ( ) . SBCL Lisp SBCL . SBCL ldb ( ) . --script --noinform --disable-ldb --lose-on-corruption --end-runtime-options --script . --script toplevel . --merge-core-pages (hints) . SBCL . . . --no-merge-core-pages . --help SBCL . --version SBCL . (lazy allocation) . --end-runtime-options toplevel Lisp . toplevel SBCL : --sysinit filename . ( FILES .) --no-sysinit . --sysinit . --userinit filename . ( FILES .) --no-userinit . --userinit . --eval -- (REPL) . --eval . --load --eval '(load "")' . (quoting) SBCL ..TP 3 --noprint << -->> (read-eval-print loop) << ->> i.e. . --noinform <<>> Lisp (pipelines) . --disable-debugger SBCL . (backtrace) -- (batch processing) . SB-EXT:DISABLE-DEBUGGER . --quit SBCL . . --non-interactive read-eval-print . --disable-debugger --quit --script . --script --no-sysinit --no-userinit --disable-debugger --end-toplevel-options . read-eval-print . shebang . : 1. . 2. . 3. . 4. --eval --load . read-eval- print --script . read-eval-print (end of file) . --script . SBCL --core core SB-EXT:SAVE-LISP-AND-DIE SB-EXT:SAVE-LISP-AND-DIE . --end-toplevel-options i.e. core . SBCL (i.e. core ) --end-toplevel-options . (OVERVIEW) SBCL CMU CL . ( : .) SBCL : read-eval-print (native code) . ( MacLisp Lisp . .) SBCL ANSI Common Lisp . BUGS . SBCL ANSI User Manual . <> REQUIRE . SB-BSD-SOCKETS TCP/IP : * (require 'asdf) * (require 'sb-bsd-sockets) User Manual . SBCL <> CMU CL . ( Python .) (type system) Common Lisp . ( ) << >> i.e. . (garbage collection) . CPU CPU . CPU GC (exact) CPU GC (generational) (stop and copy) . . (SYSTEM REQUIREMENTS) SBCL X86 ( Linux FreeBSD OpenBSD NetBSD) X86-64 ( Linux) PPC ( Linux) SPARC ( Linux Solaris 2.x) MIPS ( Linux) . sbcl-devel / . SBCL X86 16Mb RAM 32Mb . (KNOWN BUGS) . BUGS . heap () . SBCL (overcommit) Linux FreeBSD SBCL (kill) (!). << >> . PROCLAIM DECLAIM . (DECLAIM (FTYPE (FUNCTION (T) NULL) SOMETIMES)) (DEFUN SOMETIMES (X) (ODDP X)) (DEFUN FOO (X) (IF (SOMETIMES X) 'THIS-TIME 'NOT-THIS-TIME)) (FOO 1) NOT-THIS-TIME DECLAIM . . -- (floating point). -- SBCL ( ) Common Lisp (stock hardware) (machine word) . ( heap <> GC .) SQRT AREF : . ( ) . (REPORTING BUGS) sbcl-help sbcl-devel . () . ( SourceForge . 2002-07-25 .) . << TAN . (TAN LEAST-NEGATIVE-SINGLE-FLOAT) sbcl-1.2.3 Linux 4.5 X86 UNBOUND-VARIABLE .>>.SH " CMU CL (DIFFERENCES FROM CMU CL)" SBCL ANSI Common Lisp C . (bootstrappability) (fork) CMU CL . . SBCL CMU CL . ( ) . CMU CL SBCL Motif Hemlock WIRE ( LETF ITERATE MEMQ REQUIRED-ARGUMENT) . ( SBCL CMU CL . : SBCL FFI . SBCL "contrib" . -- .) (SUPPORT) SBCL . . (AUTHORS) SBCL CMU CL SBCL . CREDITS . (ENVIRONMENT) SBCL_HOME "sbclrc" "sbcl.core" "contrib" . sbcl ../lib/sbcl/ . /usr/local/bin/ /usr/local/lib/sbcl/ . (FILES) sbcl (loader) sbcl.core . sbcl.core (dumped memory image) SBCL `sbcl' . $SBCL_HOME --core . sbclrc $SBCL_HOME /etc --sysinit . .sbclrc ( --userinit ). (SEE ALSO) SBCL Texinfo . info sbcl . HTML PDF /usr/local/share/doc/sbcl/ . SBCL sbcl-devel sbcl-help . 7th Edition $Date$ SBCL(1)