Lisp
Lisp is a family of programming languages created by John McCarthy in 1958, built around lists and symbols, and for decades the main language of AI research.
John McCarthy began designing Lisp at MIT in 1958 as a language for AI research. He described it in a paper in Communications of the ACM in April 1960, titled Recursive Functions of Symbolic Expressions and Their Computation by Machine. The name comes from list processor. Steve Russell then realised that the language's core evaluation function could be written directly in machine code, and produced the first working implementation on an IBM 704.
Everything in Lisp, programs included, is written as nested lists in brackets, called S-expressions. Because code and data share the same form, a Lisp program can easily build, inspect and rewrite other programs, a property later called homoiconicity. That suited early AI, which was largely about manipulating symbols, such as logical statements, rules and plans, rather than crunching numbers. Lisp also introduced automatic garbage collection, which frees memory a program no longer uses, a feature now common in other languages.
For around three decades Lisp was the default language of AI. Many expert systems were written in it, and in the 1980s companies such as Xerox, Symbolics and Texas Instruments sold Lisp machines, computers designed to run it. That market collapsed in 1987 when cheaper general-purpose workstations and desktops caught up, one of the events behind the second AI winter.
Lisp is the second-oldest high-level programming language still in common use, after Fortran. Its best-known modern dialects are Common Lisp, Scheme, Racket and Clojure, and Emacs Lisp powers the Emacs text editor. Modern machine learning is mostly written in Python on top of numerical libraries, so Lisp now appears in AI news mainly as history, but many ideas it introduced live on in the languages that replaced it.
Early AI was mostly about manipulating symbols, such as logical statements and rules, and Lisp was designed by the AI pioneer John McCarthy for exactly that. Its list structure made it easy to represent knowledge, and because programs are themselves lists, Lisp programs could create and modify code. It became the standard language of AI research for decades. Yes, though it is a niche language. Common Lisp, Scheme, Racket and Clojure all have active users, and Emacs Lisp runs inside the Emacs editor. Most current AI and machine learning work, however, is done in Python. The name comes from list processor, reflecting the language's central data structure, the list. It was traditionally written in capitals as LISP, though Lisp is now the more common spelling. They were computers built specifically to run Lisp efficiently, sold in the 1980s by firms such as Symbolics and Texas Instruments and widely used for AI work. Their market collapsed in 1987 when cheaper general-purpose machines became powerful enough to run Lisp themselves.Common questions
Why was Lisp used for artificial intelligence?
Is Lisp still used today?
What does Lisp stand for?
What were Lisp machines?
Search for "McCarthy 1960 Recursive Functions of Symbolic Expressions", "history of Lisp" or "Lisp machines". McCarthy's own papers, archived on Stanford pages, and histories published by the ACM are the best primary sources. For learning the language, use the documentation of a current dialect such as Common Lisp, Racket or Clojure.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.