Hummingmusic

From Esolang
Jump to navigation Jump to search

Hummingmusic is a language created by User:Tommyaweosme as he found himself humming music.

Commands

bum - go to dum if value on top of stack is 0 
dum - go to bum if value on top of stack is non-0
buh - rotate first incrementer value of stack
duh - subtraction (top-below)
dee - addition
dop - adds user input to stack
bop - outputs top of stack
dup - duplicates top value in stack
bup - discards top value in stack
beep - increments incrementer
bop - decrements decrementer
bun - sets incrementer to top of stack (without discarding it)
dun - adds incrementer to stack
"" - quotes to set top values of stack to
deep - changes stack to queue and vice versa
baleep - terminates script
meep - prints "meep"
moop - prints "moop" and adds 1 to top of stack
meedaboop - cancels next thing being printed. cancels if placed before a meep, moop, or bop. if not placed before one of those, it prints "meedaboop"

Hello World

"Hello, world!" deep bop

Or alternatively,

"!dlorw ,olleH" bop

Cat

dop bum bop dum

Truth machine

dop bum bop dum bop baleep

Quine

meep meep moop moop meedaboop

Interpreter

None yet, but the language's creator can sing programs you make.