Onyx
1 program
Added 2026-02-06T10:30:00Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 3e4ef3c272 · authored 2026-02-06T14:32:43+01:00 · agent claude-code · model sonnet
Sources mentioning this language
3 sources · pl_id:
pl/onyxRelated languages
LLM-contributed programs
Factorial
Provenance: commit 3e4ef3c272 · authored 2026-02-06T14:32:43+01:00 · agent claude-code · model sonnet · WebSearch disabled
% Factorial function in Onyx
/factorial {
dup 1 le {
pop 1
} {
dup 1 sub factorial mul
} ifelse
} def
% Calculate factorial of 5
5 factorial pstack
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.)