Control Language

1 program Added 2025-11-12T09:12:12Z Model: google/gemini-2.5-proTemp: 0.4 Evidence Report issue View issues
Aliases: CL, CLP
Provenance: commit 55591d6326 · authored 2025-11-12T10:12:12+01:00 · model google/gemini-2.5-pro

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

CL (0.53)CLLE (0.47)ECL (0.46)CODIL (0.45)NMTRAN (0.37)

LLM-contributed programs

Customer File Maintenance Caller

Provenance: commit 55591d6326 · authored 2025-11-12T10:12:12+01:00 · model google/gemini-2.5-pro · Temp 0.4
code.clp · added: 2025-11-12T09:12:12Z
/*-------------------------------------------------------------------*/
/*                                                                   */
/*  Program . . : CUS001CL                                           */
/*  Description : Customer File Maintenance - CLP                    */
/*  Author  . . : Barry S. Somervill                                 */
/*  Date  . . . : January 23, 2012                                   */
/*                                                                   */
/*  History . . :                                                    */
/*    01/23/12  BSS  Created                                         */
/*                                                                   */
/*-------------------------------------------------------------------*/
     PGM        PARM(&RTNCODE)

     DCL        VAR(&RTNCODE) TYPE(*CHAR) LEN(7)
     DCL        VAR(&CUSNBR) TYPE(*DEC) LEN(7 0)
     DCL        VAR(&CUSNAME) TYPE(*CHAR) LEN(30)
     DCL        VAR(&CUSADDR) TYPE(*CHAR) LEN(30)
     DCL        VAR(&CUSCITY) TYPE(*CHAR) LEN(25)
     DCL        VAR(&CUSSTATE) TYPE(*CHAR) LEN(2)
     DCL        VAR(&CUSZIP) TYPE(*DEC) LEN(5 0)

     CALL       PGM(CUS001RG) PARM(&RTNCODE &CUSNBR &CUSNAME +
                  &CUSADDR &CUSCITY &CUSSTATE &CUSZIP)

     ENDPGM

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 Control Language (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/Control Language/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Control Character Convalescent →