SP/k

1 program Added 2026-03-10T16:25:17Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: SPk
Provenance: commit 7a27d842d3 · authored 2026-03-10T17:25:54+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

3 sources · pl_id: pl/sp-k-2
LLM (this repo) · 1WikipediaWikidata · Q7392398

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.

Paradigmsstructured · imperative
Typingstatic, strong
Designed byR.C. Holt · D.B. Wortman · D.T. Barnard · J.R. Cordy
First appeared1974
Influenced byPL/I

Related languages

SPARK (0.23)Sprak (0.23)SNEK (0.15)Spin (0.15)Spry (0.15)

LLM-contributed programs

Factorial

Provenance: commit 7a27d842d3 · authored 2026-03-10T17:25:54+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.spk · license: Public Domain · added: 2026-03-10T16:25:17Z
/* Factorial computation in SP/k */
FACTORIAL: PROCEDURE OPTIONS(MAIN);
   DECLARE (I, N, F) FIXED;
   N = 10;
   F = 1;
   DO I = 1 TO N;
      F = F * I;
      PUT SKIP LIST('FACTORIAL OF', I, 'IS', F);
   END;
END FACTORIAL;

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.)

Contribute — propose a file extension

Tell us where to find evidence about SP/k (mapped to pl/sp-k-2). 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/SP-k/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← sp-k space →