GameMonkey Script
1 program
Added 2026-02-06T08:39:41Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: GM, GMS
Provenance: commit 491af95230 · authored 2026-02-06T09:42:37+01:00 · agent claude-code · model sonnet
Sources mentioning this language
3 sources · pl_id:
pl/gamemonkey-script-2Related languages
LLM-contributed programs
Factorial
Provenance: commit 491af95230 · authored 2026-02-06T09:42:37+01:00 · agent claude-code · model sonnet · WebSearch disabled
// Factorial function
global factorial = function(n)
{
if (n <= 1)
{
return 1;
}
return n * factorial(n - 1);
};
// Calculate and print factorials
print("Factorial of 5 is ", factorial(5));
print("Factorial of 10 is ", 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.)