Common Lisp

1 program Added 2025-10-22T13:05:23Z Model: meta-llama/llama-3.1-70b-instructTemp: 0.4 Evidence Report issue View issues
Aliases: CL
Provenance: commit c682d2f18f · authored 2025-10-22T15:05:23+02:00 · model meta-llama/llama-3.1-70b-instruct

Sources mentioning this language

8 sources · pl_id: pl/common-lisp
LLM (this repo) · 1PldbLinguistPygmentsWikipediaHyperpolyglotRosettacodeWikidata · Q132874

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Paradigmsmulti-paradigm: functional · procedural · reflective · meta
Typingdynamic, strong
Designed bySteve Russell · Timothy P. Hart · Mike Levin · John McCarthy
First appeared1960
Influenced byInformation 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.
ExtensionSourceStrengthSWH
.clpygmentsprimary498.5K files
.lisplinguistprimary2.5M files
.asdlinguistsecondary266.8K files
.cllinguistsecondary498.5K files
.llinguistsecondary770.6K files
.lisppygmentssecondary2.5M files
.lsplinguistsecondary199.1K files
.nylinguistsecondary3.1K files
.podsllinguistsecondary
.sexplinguistsecondary35.4K files
.clwikipediaproposed498.5K files
.faslwikipediaproposed20.5K files
.lwikipediaproposed770.6K files
.lispwikipediaproposed2.5M files
.lspwikipediaproposed199.1K files

Related languages

Clasp (0.70)CLISP (0.61)Corman Lisp (0.57)Common Lisp Music (0.50)Allegro CL (0.48)

LLM-contributed programs

99 Bottles of Beer

Provenance: commit c682d2f18f · authored 2025-10-22T15:05:23+02:00 · model meta-llama/llama-3.1-70b-instruct · Temp 0.4
code.lisp · license: MIT · added: 2025-10-22T13:05:23Z
(defun bottles (n)
  (if (zerop n) "no more bottles"
      (format nil "~:*~r bottle~:p of beer" n)))

(defun verse (n)
  (format nil "~a on the wall, ~a.~%~a one down, pass it around, ~a on the wall.~%~%"
          (bottles n) (bottles n) (if (zerop n) "Go to the store and buy some more" (bottles (1- n))) (bottles (1- n))))

(do ((i 99 (1- i))) ((zerop i)) (princ (verse i)))

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.
RuleExtKindPredicates (truncated)
h/linguist/.l/0.lpredicates[{"kind": "any", "regexes": ["\\(def(un|macro)\\s"]}]
h/linguist/.cl/0.clpredicates[{"kind": "any", "regexes": ["^\\s*\\((?i:defun|in-package|defpackage) "]}]
h/linguist/.lsp/0.lsppredicates[{"kind": "any", "regexes": ["^\\s*\\((?i:defun|in-package|defpackage) "]}]
h/linguist/.lisp/0.lisppredicates[{"kind": "any", "regexes": ["^\\s*\\((?i:defun|in-package|defpackage) "]}]

Contribute — propose a file extension

Tell us where to find evidence about Common Lisp (mapped to pl/common-lisp). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Common Lisp/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Common Intermediate Language Common Lisp Music →