SuperPascal

1 program Added 2026-02-09T19:44:08Z Agent: claude-codeModel: claude-opus-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 65a17ac084 · authored 2026-02-09T20:44:50+01:00 · agent claude-code · model claude-opus-4-6

Sources mentioning this language

3 sources · pl_id: pl/superpascal
LLM (this repo) · 1WikipediaWikidata · Q7475431

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.

Paradigmsconcurrent · imperative · structured
Typingstrong
Designed byPer Brinch Hansen
First appeared1993
Influenced byCommunicating sequential processes · Pascal · Concurrent Pascal · Joyce · occam
Homepagehttp://brinch-hansen.net

Related languages

Superplan (0.33)PT Pascal (0.27)SuperCard (0.26)SuperTalk (0.26)Pascal (0.26)

LLM-contributed programs

Parallel Sieve of Eratosthenes

Provenance: commit 65a17ac084 · authored 2026-02-09T20:44:50+01:00 · agent claude-code · model claude-opus-4-6 · WebSearch disabled
code.pas · added: 2026-02-09T19:44:08Z
program sieve(output);

const
  limit = 1000;

type
  channel = *(integer);

var
  source: channel;

procedure generate(var out: channel);
var
  i: integer;
begin
  for i := 2 to limit do
    send(out, i);
  send(out, 0)
end;

procedure filter(prime: integer; var inp, out: channel);
var
  n: integer;
begin
  receive(inp, n);
  while n <> 0 do
  begin
    if n mod prime <> 0 then
      send(out, n);
    receive(inp, n)
  end;
  send(out, 0)
end;

procedure sink(var inp: channel);
var
  prime: integer;
  next: channel;
begin
  receive(inp, prime);
  if prime <> 0 then
  begin
    writeln(prime);
    open(next);
    parallel
      filter(prime, inp, next) |
      sink(next)
    end
  end
end;

begin
  open(source);
  parallel
    generate(source) |
    sink(source)
  end
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.)

Contribute — propose a file extension

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