Manuals and documentation that are specific to CMUCL (see below for general information on Common Lisp):
- The CMUCL User's
Manual is a detailed document containing a lot of information
on the Python compiler and CMUCL extensions to Common Lisp, such as
the FFI. It is available in the following formats (last updated
2010-09-27):
- The current HTML version all on one page for online browsing.
- The current HTML version on multiple pages for online browsing.
- Tarball of the HTML version on multiple pages for local browsing.
- Tarball of the info files for local use with emacs.
- PDF (US letter size) with embedded hyperlinks.
- Older versions can be found below. We keep these for
reference because the above version was manually converted to
texinfo from LaTeX.
- HTML for online browsing (This is somewhat outdated because no version of hevea will process the sources anymore.)
- PDF (A4-size) with embedded hyperlinks (1020 kiB)
- PDF (US letter-size) with embedded hyperlinks (1023 kiB)
- gzipped tarball of the HTML files (419 kiB)
- The CLX manual is available for online browsing.
- Documentation on the CMUCL Motif toolkit:
- The user guide
- Implementation guide
- The original docs for reference
- the User Guide in PDF
- some implementation information (last updated 2003-04).
- The design document describing the internals of
CMUCL. This is very incomplete (last updated 2003-01):
- as one HTML page.
- as HTML on multiple pages.
- as a PDF file (US letter).
- The original PDF doc, for historical reference.
- Internal design of CMU common Lisp on the IBM RT PC. This is a nice complement to the current design document.
-
Hemlock is the integrated editor which comes with
CMUCL.
- The Hemlock User's Manual:
- HTML version all on one page for online browsing
- HTML version all on multiple page for online browsing
- PDF (US letter size) with embedded hyperlinks
- Tarball of the info files for local use with emacs
- The Hemlock Command Implementor's Manual:
- HTML version all on one page
- HTML version on multiple pages
- PDF (US Letter size)
- Tarball of the info files for local use with emacs
- The original Scribe versions (of historical interest):
Tips and tricks
-
On GNU/Linux systems running kernel 2.2 or greater, CMUCL-compiled files can be made directly executable by the kernel by registering them with the binfmt_misc module.
Alternatively, take advantage of the executable feature. If
(ext:featurep :executable)
is true, you can run(ext:save-lisp "exe" :executable t)
to create an executable file that contains the lisp image. This works on Linux, MacOS X, and Solaris, so you don't need to depend on the binfmt_misc module on Linux. - Example uses of CMUCL's foreign function interface to call a tcl interpreter, and a more complicated example showing how to use callbacks into lisp, again from tcl.
- On x86 platforms, the multiprocessing support allows CMUCL to act as a Lisp server.
- Sample code showing how to change the CMUCL prompt.
- Information on adding custom commandline switches.
- Information on analyzing memory usage.
- Some hints on tuning the CMUCL garbage collector.
- Hints on using the PCL metaobject protocol , which is a little different from the MOP in other Common Lisp implementations. This page also includes an explanation of the parallel class hierarchies in the CMUCL kernel and in PCL.
- Hints on reading disassembly of functions compiled to byte-code or native code.
- A presentation of the differences between the interpreter, the byte-code compiler and the native-code compiler.
- Hints on resolving X11 authorization problems with CLX.
- Some historical information on bootstrapping of early versions of CMUCL.
- A description of the *features* list for CMUCL.
- Douglas Crosher has worked on making Franz's ELI Emacs interface work with CMUCL.
Developer information
- The first step to being able to improve CMUCL is knowing how to build it (ie recompile it from its source). This is a slightly delicate process, since a running Lisp is used to produce a new lisp. For details, see Building CMUCL on CMUCL's wiki.
- A trickier process is a cross-compile, which can be necessary to add certain features to CMUCL, or to port it to a new platform. Details ...
- Pointers to architecture-specific information.
Further documentation is welcome!
General information on Common Lisp
- The Common Lisp HyperSpec is an online version of the ANSI Common Lisp Standard, with extensive cross references.
- The Common Lisp Object System's MetaObject Protocol is a semi-standardized reflective extension to CLOS. Most Common Lisp implementations (including CMUCL) implement a metaobject protocol that is similar to the specification given in chapters 5 and 6 of the The Art of the MetaObject Protocol.
- The Evolution of Lisp by Guy L. Steele and Richard Gabriel is a paper which describes the history of the Lisp programming language.
- The paper Lisp: Good News, Bad News, How to Win Big by Richard Gabriel (often referred to as the "Worse is Better" paper) describes Lisp philosophy. Gabriel later gave other talks on the same subject.
- Papers by Kent Pitman, as well as his Parenthetically Speaking articles.
- Successful Lisp is a book aimed at hands-on Lisp use.
- Common Lisp Quick Reference is a very succinct quick reference to Common Lisp by Bert Burgemeister.
Other resources
- The EncyCMUCLopedia is a compendium of documents related to CMUCL. This is a mirror of the version from Paulo Amoroso at https://www.pvv.ntnu.no/~ljosa/doc/encycmuclopedia/.
- The CLiki is a collection of links and information on free software implemented in Common Lisp and available on Unix-like systems. It is a collaborative web authoring system based on the Wiki.
- The Common Lisp Cookbook is a source of tasty Common Lisp morsels.
- CLISP is a free Common Lisp implementation which uses a bytecode interpreter written in C. It is available on a greater number of platforms than CMUCL, and has lower memory requirements (but runs significantly more slowly on most problems).
- The CMU AI Repository contains useful Lisp software.
- CLtL2, the second edition of Common Lisp: the Language, is a reference book which preceded the ANSI Common Lisp standard.
- The Association of Lisp Users site contains information about other Lisp implementations, documentation and code.
- The Hemlock User's Manual: