/Bruh

Bruh esoteric programming language

Primary LanguageHTML

Bruh esoteric programming language

Have you ever coded something and said "bruh"? Then this is for you! Bruh will make you bruh when you code it.

Online interpreter

Syntax

Variables:

Bruh has 3 variables: bruh., bruh! and bruh?

There are 5 ways of modifing their values:

bruh. momentum - increase bruh. by one

bruh. moment - decrease bruh. by one

bruh. bruh! - assign bruh! to bruh.

bruh. momentum bruh! - increase bruh. by bruh!

bruh. moment bruh! - decrease bruh. by bruh!

Outputting variables:

moment bruh. - Output bruh. as an integer

momentum bruh. - Convert bruh. to ASCII and output it

While loops:

sound bruh. bruh? - Loop until bruh. is equal to bruh?

sound bruh. momentum bruh? - Loop until bruh. is bigger thanbruh?

sound bruh. moment bruh? - Loop until bruh. is smaller than bruh?

effect - End of a while loop

While loops can't contain other while loops!

Example loop:

bruh? momentum
bruh? momentum

sound bruh. moment bruh?
bruh. momentum
effect

moment bruh.