Amber
1 program
Added 2026-02-08T14:37:46Z
Agent: claude-codeModel: opusWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 5098f9c66e · authored 2026-02-08T15:38:40+01:00 · agent claude-code · model opus
Sources mentioning this language
3 sources · pl_id:
pl/amberRelated languages
LLM-contributed programs
FizzBuzz
Provenance: commit 5098f9c66e · authored 2026-02-08T15:38:40+01:00 · agent claude-code · model opus · WebSearch disabled
// FizzBuzz in Amber
// Prints numbers 1-30, replacing multiples of 3 with "Fizz",
// multiples of 5 with "Buzz", and multiples of both with "FizzBuzz"
main {
loop i in 1..31 {
if i % 15 == 0 {
echo "FizzBuzz"
} else if i % 3 == 0 {
echo "Fizz"
} else if i % 5 == 0 {
echo "Buzz"
} else {
echo "{i}"
}
}
}
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.)