NumberPankackes is a stack-based esoteric programing language.
1X: pushes X to the stack (you must have a colon at the end of the command) 2 coppys the top of the stack and pushes it 3 flips the stack 4 pushes user input to the stack 5 pops the top value of the stack and adds it to the value below it 6 pops the top value of the stack and prints it [ sets the start of a loop (you cant have loops in each other) ] returns to the start of the loop
this program takes user input then prints it
this program pops the top value of the stack by subtracting 1 from it until it's zero, pops it and adds it to the value below it
this prints and empties the stack by fliping it, pushing a zero, fliping it again and finaly poping and printing the top value until it's 0