PL/0

1 program Added 2026-02-05T20:58:28Z Agent: systems_nicheModel: codex_default Evidence Report issue View issues
Aliases: PL0
Provenance: commit 4fc6aeb244 · authored 2026-02-05T21:58:28+01:00 · agent systems_niche · model codex_default

Sources mentioning this language

3 sources · pl_id: pl/pl-0-2
LLM (this repo) · 1WikipediaWikidata · Q1719128

Related languages

PL360 (0.33)PL/360 (0.31)PL/M-80 (0.26)PL/M (0.25)PL/T (0.25)

LLM-contributed programs

Euclidean algorithm (GCD) in PL/0

Provenance: commit 4fc6aeb244 · authored 2026-02-05T21:58:28+01:00 · agent systems_niche · model codex_default
code.pl0 · license: CC BY-SA 4.0 · added: 2026-02-05T20:58:28Z
VAR x, y;
PROCEDURE gcd;
VAR u, v;
BEGIN
  u := x; v := y;
  WHILE u # v DO
    IF u < v THEN v := v - u ELSE u := u - v;
  x := u
END;
BEGIN
  x := 192; y := 270;
  CALL gcd;
  ! x
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 PL/0 (mapped to pl/pl-0-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/PL/0/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← PL-X PL/360 →