The programmable programming language
defined by a standard
Common Lisp is an industrial-strength dialect of Lisp, designed from 1981 by representatives of the major Lisp dialects and standardized by ANSI's X3J13 committee as X3.226-1994. The standard emphasises portability and clear compilation semantics, and includes CLOS, an object system with multiple dispatch, method combinations and a metaobject protocol; a condition system whose restarts let a running program recover from an error without unwinding the stack; an iteration facility; and support for large character sets. Development is interactive: functions are compiled incrementally and redefined while the program runs. Code is data, macros let programs define the small languages a problem needs, and the main compilers produce native code that type annotations can speed up. The language hasn't changed since 1994 and grows through libraries, which Quicklisp and Ultralisp distribute. It has no reference implementation of its own: compilers such as SBCL are listings that implement it.
Libraries for Common Lisp
Talira doesn't list any yet.
Problems it solves
- a language where I can change a program while it's running instead of restarting it
- a stable language whose code from twenty years ago still runs unmodified
- write macros that turn my problem's own idioms into language constructs
- a dynamic language that compiles to native code close to C's speed
- recover from errors in a long-running system without losing its state
- a multi-paradigm language with a powerful object system and multiple dispatch
Features
- standardized by ANSI as X3.226-1994
- interactive, incremental development in a running image
- macros and code as data (S-expressions)
- CLOS object system with multiple dispatch and a metaobject protocol
- a condition system with restarts
- first-class functions, closures and destructuring
- native code compilers with optional type annotations
- exact integers of any size and rational numbers
- libraries distributed through Quicklisp and Ultralisp
Alternatives
The same job
These do what Common Lisp does.
- Clojure A robust, practical, and fast programming language
- Racket Racket, the Language-Oriented Programming Language
- Nim Efficient, expressive, elegant
- C++ A general-purpose programming language with a bias towards systems programming
- Hare A systems programming language designed to be simple, stable, and robust
- V Simple, fast, safe, compiled. For developing maintainable software
