esolang

Fizzbuzz

Every program is a FizzBuzz program.

2023 · Turing complete: no · ●○○ easy · esolangs.org

Tested with 3 known programs · Test method

Run it

Expected: 1 2 Fizz 4 Buzz Fizz 7 8 Fizz Buzz 11 Fizz 13 14 FizzBuzz 16 17 Fizz 19 Buzz Fizz 22 23 Fizz Buzz 26 Fizz 28 29 FizzBuzz 31 32 Fizz 34 Buzz Fizz 37 38 Fizz Buzz 41 Fizz 43 44 FizzBuzz 46 47 Fizz 49 Buzz Fizz 52 53 Fizz Buzz 56 Fizz 58 59 FizzBuzz 61 62 Fizz 64 Buzz Fizz 67 68 Fizz Buzz 71 Fizz 73 74 FizzBuzz 76 77 Fizz 79 Buzz Fizz 82 83 Fizz Buzz 86 Fizz 88 89 FizzBuzz 91 92 Fizz 94 Buzz Fizz 97 98 Fizz Buzz

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

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 fizzbuzz

Source

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