Lisp
1 program
Added 2026-02-07T11:07:14Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: LISP, Lisp (programming language)
Provenance: commit ea0c3d6382 · authored 2026-02-07T12:08:03+01:00 · agent claude-code · model sonnet
Merged records (3)
Sources describe this language in separate records, kept as they are. They were
joined by explicit decisions in data/curated/pl_links.csv
(concept concept/repo/Lisp); names of merged pages are listed as aliases above.
- Lisp
repo/Lisp· this page · primary · sources: llm-campaign · evidenceL-51bf494a3fsame_aspl/lisp-programming-language: accepted (generic-qualifier, claude-opus-5-5, 2026-09-30) - lisp
pl/lisp· record without its own page · sources: esolang, pldb, pygments · Wikipedia · Q132874 · Esolang · PLDBL-c51830d580same_aspl/lisp-programming-language: accepted (generic-qualifier, claude-opus-5-5, 2026-09-30) — Esolang page 'Lisp' describes mainstream Lisp (checked 2026-09-30). - Lisp (programming language)
pl/lisp-programming-language· had its own page, merged here · sources: wikipedia · Wikipedia · Q132874L-51bf494a3fsame_asrepo/Lisp: accepted (generic-qualifier, claude-opus-5-5, 2026-09-30)L-c51830d580same_aspl/lisp: accepted (generic-qualifier, claude-opus-5-5, 2026-09-30) — Esolang page 'Lisp' describes mainstream Lisp (checked 2026-09-30).
Sources mentioning this language
8 sources · pl_id:
pl/common-lispWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | multi-paradigm: functional · procedural · reflective · meta |
|---|---|
| Typing | dynamic, strong |
| Designed by | Steve Russell · Timothy P. Hart · Mike Levin · John McCarthy |
| First appeared | 1960 |
| Influenced by | Information Processing Language (IPL) |
Extensions claimed by this language
15 claims. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.cl | pygments | primary | 590.1K files |
.lisp | linguist | primary | 3.0M files |
.asd | linguist | secondary | 335.0K files |
.cl | linguist | secondary | 590.1K files |
.l | linguist | secondary | 1.0M files |
.lisp | pygments | secondary | 3.0M files |
.lsp | linguist | secondary | 234.6K files |
.ny | linguist | secondary | 3.5K files |
.podsl | linguist | secondary | — |
.sexp | linguist | secondary | 40.3K files |
.cl | wikipedia | proposed | 590.1K files |
.fasl | wikipedia | proposed | 23.7K files |
.l | wikipedia | proposed | 1.0M files |
.lisp | wikipedia | proposed | 3.0M files |
.lsp | wikipedia | proposed | 234.6K files |
Related languages
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Factorial with Recursion
Provenance: commit ea0c3d6382 · authored 2026-02-07T12:08:03+01:00 · agent claude-code · model sonnet · WebSearch disabled
;;; Factorial function in Lisp
;;; Demonstrates recursion and conditional logic
(defun factorial (n)
"Compute the factorial of N"
(cond ((zerop n) 1)
((< n 0) (error "Factorial not defined for negative numbers"))
(t (* n (factorial (- n 1))))))
;;; Test the function
(print (factorial 0)) ; Should print 1
(print (factorial 5)) ; Should print 120
(print (factorial 10)) ; Should print 3628800
Disambiguation rules
Linguist heuristic rules that predict this language when one of its claimed extensions is shared with another.
| Rule | Ext | Kind | Predicates (truncated) |
|---|---|---|---|
h/linguist/.lisp/0 | .lisp | predicates | [{"kind": "any", "regexes": ["^\\s*\\((?i:defun|in-package|defpackage) "]}] |
h/linguist/.cl/0 | .cl | predicates | [{"kind": "any", "regexes": ["^\\s*\\((?i:defun|in-package|defpackage) "]}] |
h/linguist/.lsp/0 | .lsp | predicates | [{"kind": "any", "regexes": ["^\\s*\\((?i:defun|in-package|defpackage) "]}] |
h/linguist/.l/0 | .l | predicates | [{"kind": "any", "regexes": ["\\(def(un|macro)\\s"]}] |