tommyaweosme's harmonica
Jump to navigation
Jump to search
tommyaweosme's harmonica is a programming language designed by user:tommyaweosme where every command is playable on his harmonica
every note is a variable, and some notes are commands.
commands
1B XX - declares a variable XX and sets it to 0 1D XX - prints a variable XX to the screen 2B XX - increments a variable XX 2D XX - decrements a variable XX 3B XX YY - repeat the following code until 3D until a variable XX is equal to a variable YY 3D - look at 3B's definition 4B - ends the program 4D XX - puts users input into a variable XX 5B XX YY - swaps the content of two variables XX and YY 5D XX YY - sets a variable XX to a variable YY 6B XX YY - does the following code until 6D if a variable XX is equal to a variable YY 6D - look at 6B's definition 7B to 9D - absurdly high note, definitions may vary per interpreter
69
1B 1B 2B 1B 2B 1B 2B 1B 1B 9D 1B 1D 3B 1B 9D 2B 1D 2B 1D 2B 1D 2B 1D 2B 1D 2B 1D 2B 1D 2B 1D 2D 1B 3D 2D 1D 3B 1D 9D 2B 1B 2B 1B 2B 1B 2D 1D 3D 1D 1B
turing-completeness proof
3B 3D is []
2B 2D is +-
the different variables make this a variant of brainfuck where there are a limited number of unlimited cells. still turing-complete tho.
trivia
this esolang has it's name cus tommyaweosme got a harmonica on the very day this esolang was created (5/23/25)