GNU Pascal

1 program Added 2026-02-13T13:17:44.298334Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: GPC
Provenance: commit 8c5972a2a5 · authored 2026-02-13T14:18:18+01:00 · agent claude-code · model sonnet

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

Pascal-SC (0.27)PASCAL-S (0.25)Free Pascal (0.24)GNU Prolog (0.24)PT Pascal (0.24)

LLM-contributed programs

Factorial Calculator

Provenance: commit 8c5972a2a5 · authored 2026-02-13T14:18:18+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.pas · license: Public Domain · added: 2026-02-13T13:17:44.298334Z
program Factorial;
{ Calculates factorial of a number }

var
  n, i: Integer;
  result: LongInt;

begin
  Write('Enter a number: ');
  ReadLn(n);

  result := 1;
  for i := 2 to n do
    result := result * i;

  WriteLn('Factorial of ', n, ' is ', result);
end.

Contribute — propose a file extension

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