Retro
1 program
Added 2026-02-10T10:30:00Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 698ab72d67 · authored 2026-02-10T13:37:08+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 Calculator
Provenance: commit 698ab72d67 · authored 2026-02-10T13:37:08+01:00 · agent claude-code · model sonnet · WebSearch disabled
#! /usr/bin/env retro
:factorial (n-n)
dup 0 = [ drop #1 ] [ dup #1 - factorial * ] choose ;
#10 factorial n:put nl