PASCAL-S

1 program Added 2026-03-11T12:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: Pascal-S, Pascal S
Provenance: commit 3d3632a57d · authored 2026-03-11T21:38:26+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

2 sources · pl_id: pl/pascal-s
LLM (this repo) · 1Pldb

Related languages

Pascal-SC (0.44)PT Pascal (0.32)Pascal (0.30)Pascal Script (0.29)GNU Pascal (0.25)

LLM-contributed programs

Sieve of Eratosthenes

Provenance: commit 3d3632a57d · authored 2026-03-11T21:38:26+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.pas · license: Public Domain · added: 2026-03-11T12:00:00Z
program Sieve;
const nmax = 100;
var p: array[2..nmax] of boolean;
    i, j: integer;
begin
  for i := 2 to nmax do
    p[i] := true;
  for i := 2 to nmax do
    if p[i] then begin
      j := 2*i;
      while j <= nmax do begin
        p[j] := false;
        j := j+i
      end;
      write(i, ' ')
    end;
  writeln
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 PASCAL-S (mapped to pl/pascal-s). 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/PASCAL-S/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← pascal-plus Pascal-SC →