Modula-2R10

1 program Added 2026-03-05T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: Modula-2 Revision 2010, M2R10
Provenance: commit 219eff1021 · authored 2026-03-05T10:43:23+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

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

Related languages

Modula-2 (0.29)Modula-2+ (0.23)Modula-1 (0.21)Modula-3 (0.19)Modula (0.19)

LLM-contributed programs

Fibonacci

Provenance: commit 219eff1021 · authored 2026-03-05T10:43:23+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.mod · license: Public Domain · added: 2026-03-05T10:00:00Z
MODULE Fibonacci;

FROM InOut IMPORT WriteCard, WriteLn;

PROCEDURE Fib ( n : CARDINAL ) : CARDINAL;
BEGIN
  IF n <= 1 THEN
    RETURN n
  ELSE
    RETURN Fib(n-1) + Fib(n-2)
  END (* IF *)
END Fib;

VAR
  i : CARDINAL;

BEGIN
  FOR i := 0 TO 10 DO
    WriteCard(Fib(i), 6);
    WriteLn
  END (* FOR *)
END Fibonacci.

Contribute — propose a file extension

Tell us where to find evidence about Modula-2R10 (mapped to pl/modula_2r10). 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/Modula-2R10/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← modula-2p Modula-3 →