Gravity
1 program
Added 2026-02-06T16:29:22Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 3f68c92ad1 · authored 2026-02-06T17:30:06+01:00 · agent claude-code · model sonnet
Sources mentioning this language
3 sources · pl_id:
pl/gravityRelated languages
LLM-contributed programs
Fibonacci Sequence
Provenance: commit 3f68c92ad1 · authored 2026-02-06T17:30:06+01:00 · agent claude-code · model sonnet · WebSearch disabled
func fibonacci(n) {
if (n <= 1) return n;
return fibonacci(n-1) + fibonacci(n-2);
}
func main() {
for (var i = 0; i < 10; ++i) {
System.print("fibonacci(\(i)) = \(fibonacci(i))");
}
return 0;
}
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.)