BALGOL
1 program
Added 2026-02-11T15:30:00Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: Burroughs ALGOL
Provenance: commit af6df3286a · authored 2026-02-11T13:06:44+01:00 · agent claude-code · model sonnet
Sources mentioning this language
2 sources · pl_id:
pl/balgolRelated languages
LLM-contributed programs
Factorial Calculator
Provenance: commit af6df3286a · authored 2026-02-11T13:06:44+01:00 · agent claude-code · model sonnet · WebSearch disabled
BEGIN
INTEGER 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 FACTORIAL;
INTEGER N, F;
READ(N);
F := FACTORIAL(N);
WRITE(F)
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.)