CPL
1 program
Added 2025-11-05T08:06:14Z
Model: x-ai/grok-4-fastTemp: 0.4
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 0f9108ad8d · authored 2025-11-05T09:06:14+01:00 · model x-ai/grok-4-fast
Sources mentioning this language
5 sources · pl_id:
pl/cplWikipedia 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: procedural · imperative · structured · functional |
|---|---|
| Designed by | Christopher Strachey et al |
| First appeared | 1963 |
| Influenced by | ALGOL 60 |
Related languages
LLM-contributed programs
Factorial computation example
Provenance: commit 0f9108ad8d · authored 2025-11-05T09:06:14+01:00 · model x-ai/grok-4-fast · Temp 0.4
let factorial be procedure (n) external integer n;
value n integer;
integer local i, fact;
begin
fact := 1;
for i = 1 step 1 until n do
fact := fact * i;
resultis fact
end;
let main be procedure;
begin
writeon (factorial (5))
end
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.)