We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

-1 bytes :/

From Esolang
Jump to navigation Jump to search

-1 bytes :/ is an esolang by User:YufangTSTSU and inspired by 0 bytes XD which is inspired by 9 bytes :I which is inspired by 13 bytes :D which is inspired by 16 bytes :P which is inspired by 25 bytes o:, probably inspired by -25 bytes (O_o) which is inspired by -5 bytes ;). The original goal was to create world's smallest compiler/interpreter.

Overview

The program converts the code to integer by .reduce((x, y) => x * 10 + y.ord - 48) (Pseudocode), so both 6093 and foo would be interpreted as 6093. If the integer is multiple of 3, outputs "Fizz". If it's multiple of 5, outputs "Buzz". If it's none of them, output the integer itself.

Examples

0

Outputs "0".

3

Outputs "Fizz".

30

Outputs "FizzBuzz".

foo

Outputs "Fizz".

FizzBuzz

Outputs "Fizz", only.

57

Outputs "57".

Interpreter

The shortest interpreter in HQ9+fuck:


With the file name as hq9+.

A standard empty HQ9+fuck source code file has 0 bytes, and has a file extension of .hq9+. Since this interpreter is 1 byte smaller than a standard empty HQ9+fuck source code file (by removing a dot),