Agora
1 program
Added 2026-02-05T23:12:18.475698Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit de8f3e9e7d · authored 2026-02-06T00:12:35+01:00 · agent claude-code · model sonnet
Sources mentioning this language
4 sources · pl_id:
pl/agoraRelated languages
LLM-contributed programs
Factorial Function
Provenance: commit de8f3e9e7d · authored 2026-02-06T00:12:35+01:00 · agent claude-code · model sonnet · WebSearch disabled
// Factorial function in Agora
func factorial(n) {
if (n <= 1) {
return 1;
} else {
return n * factorial(n - 1);
}
}
// Test the factorial function
print("Factorial of 5: " + factorial(5));
print("Factorial of 10: " + factorial(10));
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.)