Asir
1 program
Added 2026-02-10T11:59:58Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: Risa/Asir
Provenance: commit 4c3d84b25a · authored 2026-02-10T13:01:50+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 Function
Provenance: commit 4c3d84b25a · authored 2026-02-10T13:01:50+01:00 · agent claude-code · model sonnet · WebSearch disabled
/* Factorial function in Risa/Asir */
def fact(N) {
if (N == 0) {
return 1;
} else {
return N * fact(N - 1);
}
}
/* Test the factorial function */
for (I = 0; I <= 10; I++) {
print(I, "! =", fact(I));
}