PL/T
1 program
Added 2026-02-16T16:14:24Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 6c2d1385cb · authored 2026-02-16T17:15:04+01:00 · agent claude-code · model sonnet
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Factorial Calculator
Provenance: commit 6c2d1385cb · authored 2026-02-16T17:15:04+01:00 · agent claude-code · model sonnet · WebSearch disabled
/* Simple factorial program in PL/T */
FACTORIAL: PROCEDURE OPTIONS(MAIN);
DECLARE N FIXED DECIMAL;
DECLARE FACT FIXED DECIMAL;
DECLARE I FIXED DECIMAL;
GET LIST(N);
FACT = 1;
DO I = 1 TO N;
FACT = FACT * I;
END;
PUT LIST('FACTORIAL OF', N, 'IS', FACT);
END FACTORIAL;