Lisp
Family of programming languages originated by John McCarthy in 1958, built on symbolic expressions and long associated with AI research.
Lisp is a family of programming languages in which both code and data are written as symbolic expressions, nested lists enclosed in parentheses. Because programs have the same structure as the data they manipulate, a property called homoiconicity, Lisp programs can easily generate and transform code, and macros let programmers extend the language itself. Lisp introduced or popularized many ideas now common elsewhere, including garbage collection, conditional expressions, recursion as a central technique and the interactive read-eval-print loop.
John McCarthy designed Lisp at MIT in 1958 and described it in a 1960 paper. Steve Russell, then working with McCarthy, realized that the eval function could be implemented directly and wrote the first Lisp interpreter for the IBM 704. Lisp became the main language of symbolic artificial intelligence research for decades, and in the 1980s companies built dedicated Lisp machines, a market that collapsed during the AI winter. Major dialects include Common Lisp, standardized by ANSI in 1994, Scheme and Clojure.
Lisp is often described as the second-oldest high-level programming language still in use, after Fortran. Emacs Lisp extends the GNU Emacs editor, Scheme shaped computer science teaching through the textbook "Structure and Interpretation of Computer Programs", and Clojure brought Lisp to the Java Virtual Machine. Its parentheses-heavy syntax deters some programmers, but its ideas about code as data, interactive development and functional style continue to influence language design.
Key points
- Lisp programs are written as nested lists, so code and data share the same structure.
- John McCarthy designed Lisp at MIT in 1958.
- Lisp pioneered garbage collection and the read-eval-print loop.
- Common Lisp, Scheme, Clojure and Emacs Lisp are major dialects.
Related entries
John McCarthy
American computer scientist who coined the term artificial intelligence, created the Lisp programming language and pioneered time-sharing.
Steve Russell
American programmer who led the creation of Spacewar!, one of the earliest and most influential digital video games, at MIT in 1962.
Functional Programming
Programming paradigm that builds software by composing pure functions, treating computation as evaluating expressions rather than changing state.
Approach to artificial intelligence that represents knowledge with explicit symbols and rules and manipulates them through logic and search.
Garbage Collection
Automatic memory management in which a language runtime finds and reclaims memory occupied by objects a program can no longer use.
GNU Emacs
Extensible, customizable free text editor started by Richard Stallman in 1984, built around an Emacs Lisp interpreter.
AI Winter
A period of reduced funding, interest and confidence in artificial intelligence research that follows a cycle of inflated expectations.
Recursion
Technique in which a function solves a problem by calling itself on smaller instances of the same problem until it reaches a simple base case.
Referenced by
Other entries that discuss or point to Lisp.