Free Pascal

1 program Added 2026-02-08T16:27:38Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: FPC, FreePascal
Provenance: commit 188f661e06 · authored 2026-02-08T17:28:35+01:00 · agent claude-code · model sonnet

Sources mentioning this language

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

Related languages

Object Pascal (0.33)PT Pascal (0.25)GNU Pascal (0.24)Pascal (0.24)ORCA/Pascal (0.23)

LLM-contributed programs

Fibonacci Sequence Generator

Provenance: commit 188f661e06 · authored 2026-02-08T17:28:35+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.pas · added: 2026-02-08T16:27:38Z
program Fibonacci;

var
  n, i: Integer;
  fib, prev, temp: Int64;

begin
  Write('Enter the number of Fibonacci terms: ');
  ReadLn(n);

  if n <= 0 then
  begin
    WriteLn('Please enter a positive integer.');
    Exit;
  end;

  prev := 0;
  fib := 1;

  WriteLn('Fibonacci sequence:');

  for i := 1 to n do
  begin
    WriteLn(i, ': ', prev);
    temp := fib;
    fib := prev + fib;
    prev := temp;
  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 Free Pascal (mapped to pl/free-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/Free Pascal/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Free Esolang Free2Edit →