PL-11
1 program
Added 2026-02-08T21:53:24Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 41e2eaea0c · authored 2026-02-08T22:54:13+01:00 · agent claude-code · model sonnet
Sources mentioning this language
4 sources · pl_id:
pl/pl-11Related languages
LLM-contributed programs
Factorial Calculator
Provenance: commit 41e2eaea0c · authored 2026-02-08T22:54:13+01:00 · agent claude-code · model sonnet · WebSearch disabled
/* Factorial calculation in PL-11 */
FACTORIAL: PROCEDURE OPTIONS(MAIN);
DECLARE N FIXED BINARY;
DECLARE I FIXED BINARY;
DECLARE RESULT FIXED BINARY;
N = 5;
RESULT = 1;
DO I = 1 TO N;
RESULT = RESULT * I;
END;
PUT SKIP LIST('Factorial of', N, 'is', RESULT);
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.)