Fizzbuzz
Every program is a FizzBuzz program.
2023 · Turing complete: no · ●○○ easy · esolangs.org
Tested with 3 known programs · Test method
Run it
The idea
Fizzbuzz is a constant language. Whatever the program says, it prints the first 100 lines of FizzBuzz, the numbers 1 to 100 with Fizz for multiples of 3, Buzz for multiples of 5 and FizzBuzz for multiples of 15. The specification says any name is a correct name for it, and lists 17 of them.
Read the story
Its example programs are empty. The FizzBuzz program, the self interpreter and the program that prints its own name are all the empty program. The quine is the 100 lines themselves.
The machine
There is none. The program is never read. The output is 100 lines, each ending in a newline.
Example
The output is long, so the console shows the first few and the last words.
The output is long, so the console shows the first few and the last words.
Further
Ideas it shows
See also
No-code esolang
Write your own in Run Convert a program from Fizzbuzz
Implementation
JavaScript interpreter, source and command line
A JavaScript interpreter, used in the browser and on the command line. Id: fizzbuzz.
Command line
shib run fizzbuzz -e 'asdfghjkl'shib manual fizzbuzzSource
- Module
langs/wiki/ports.js- Interpreter
langs/wiki/fizzbuzz.js
Docs: Kernel instructions · The .shib format · Command line · Adding a language
Source esolangs.org (CC0) · Edit on esolangs.org