Language

Common Lisp

First appeared
1984
Paradigm
Multi-paradigm, functional and object-oriented, dynamically typed
Toolchain
SBCL 2.5.2
Container image
debian:trixie-20261027-slim + sbcl 2.5.2-1

Lisp dates from 1958, which makes it the second-oldest language family still in use, after Fortran. For decades it was the language of artificial intelligence research. Common Lisp, standardized in the 1980s and by ANSI in 1994, merged the dialects of that era into one. Here it runs on SBCL, a compiler that turns each function into machine code.

Code and data share one shape: everything is a list, and (+ 1 2) calls + with 1 and 2. The standard gives you lists, vectors, hash tables, sort, reduce, a powerful loop, and format, but no statistics, no string split, and no way to read command-line arguments. So each program reads its data path from SBCL’s own sb-ext:*posix-argv*, and nothing from Quicklisp, the usual library installer, is installed.

Quirks

Concepts in Common Lisp

Run the examples locally

You need Docker and Python 3. The harness builds the pinned container and runs every Common Lisp example:

git clone https://github.com/qnixon/dswithx.git
cd dswithx
python3 harness/run_tests.py --language common-lisp