ALGOL-M

1 program Added 2026-02-10T10:40:43Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 1ff475c0b6 · authored 2026-02-10T11:41:54+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

ALGOL-T (0.38)ALGOL 68 (0.36)Algol W (0.36)ABC ALGOL (0.33)ALGOL 60 (0.32)

LLM-contributed programs

Factorial Calculation

Provenance: commit 1ff475c0b6 · authored 2026-02-10T11:41:54+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.alg · license: GFDL · added: 2026-02-10T10:40:43Z
BEGIN
   INTEGER N, F, I;

   PROCEDURE FACTORIAL(N);
      VALUE N;
      INTEGER N;
   BEGIN
      INTEGER I, RESULT;
      RESULT := 1;
      FOR I := 1 STEP 1 UNTIL N DO
         RESULT := RESULT * I;
      FACTORIAL := RESULT;
   END;

   N := 5;
   F := FACTORIAL(N);
   OUTINTEGER(1, N);
   OUTSTRING(1, "! = ");
   OUTINTEGER(1, F);
END

Contribute — propose a file extension

Tell us where to find evidence about ALGOL-M (mapped to pl/algol_m). 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/ALGOL-M/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← algol-e ALGOL-N →