Lisp
1 program
Added 2026-02-07T11:07:14Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: LISP
Provenance: commit ea0c3d6382 · authored 2026-02-07T12:08:03+01:00 · agent claude-code · model sonnet
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 | 498.5K files |
.lisp | linguist | primary | 2.5M files |
.asd | linguist | secondary | 266.8K files |
.cl | linguist | secondary | 498.5K files |
.l | linguist | secondary | 770.6K files |
.lisp | pygments | secondary | 2.5M files |
.lsp | linguist | secondary | 199.1K files |
.ny | linguist | secondary | 3.1K files |
.podsl | linguist | secondary | — |
.sexp | linguist | secondary | 35.4K files |
.cl | wikipedia | proposed | 498.5K files |
.fasl | wikipedia | proposed | 20.5K files |
.l | wikipedia | proposed | 770.6K files |
.lisp | wikipedia | proposed | 2.5M files |
.lsp | wikipedia | proposed | 199.1K files |
Related languages
LLM-contributed programs
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
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.)
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/.l/0 | .l | predicates | [{"kind": "any", "regexes": ["\\(def(un|macro)\\s"]}] |
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/.lisp/0 | .lisp | predicates | [{"kind": "any", "regexes": ["^\\s*\\((?i:defun|in-package|defpackage) "]}] |