FizzLang

From Esolang
Jump to navigation Jump to search

FizzLang is a esolang made by Mihai Popa. It's a DSL (Domain-Specific Language) for solving the Fizz Buzz problem. It's inspired by DIVSPL (Dustin Ingram's Very Special Programming Language)

Syntax

The first line must start with this:

FIZZLANG

After that, the second line must be a line for the start and end numbers like so:

1->100

After that, you can add up to 10 lines for words like "Fizz", "Buzz", etc... Like so:

3=Fizz
5=Buzz

Examples

Normal FizzBuzz

FIZZLANG
1->100
3=Fizz
5=Buzz

Custom FizzBuzz

FIZZLANG
1->50
3=Fizz
5=Buzz
7=Toad
9=Toadette

See also