Modula
1 program
Added 2026-02-05T21:56:16Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 37c872c44d · authored 2026-02-05T22:56:56+01:00 · agent claude-code · model sonnet
Sources mentioning this language
4 sources · pl_id:
pl/modulaWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | imperative · structured · modular |
|---|---|
| Typing | static, strong, safe |
| Designed by | Niklaus Wirth |
| First appeared | 1975 |
| Influenced by | Pascal |
Related languages
LLM-contributed programs
Factorial Calculator
Provenance: commit 37c872c44d · authored 2026-02-05T22:56:56+01:00 · agent claude-code · model sonnet · WebSearch disabled
MODULE Factorial;
FROM InOut IMPORT WriteString, WriteInt, WriteLn;
VAR n, result: INTEGER;
PROCEDURE Fact(n: INTEGER): INTEGER;
VAR i, f: INTEGER;
BEGIN
f := 1;
FOR i := 2 TO n DO
f := f * i;
END;
RETURN f;
END Fact;
BEGIN
WriteString("Factorial of 5 is: ");
result := Fact(5);
WriteInt(result, 0);
WriteLn;
END Factorial.
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.)