NPL
1 program
Added 2026-02-07T12:30:00Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: New Programming Language
Provenance: commit c56655ee53 · authored 2026-02-07T17:09:41+01:00 · agent claude-code · model sonnet
Sources mentioning this language
4 sources · pl_id:
pl/nplRelated languages
LLM-contributed programs
Factorial Calculator
Provenance: commit c56655ee53 · authored 2026-02-07T17:09:41+01:00 · agent claude-code · model sonnet · WebSearch disabled
FACTORIAL: PROCEDURE OPTIONS(MAIN);
DECLARE N FIXED BINARY;
DECLARE RESULT FIXED BINARY;
GET LIST(N);
RESULT = 1;
DO WHILE(N > 1);
RESULT = RESULT * N;
N = N - 1;
END;
PUT LIST(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.)