4KOWO-like esolang

From Esolang
Jump to navigation Jump to search
This language is not meant to make fun of 4KOWO, rather this language just made for the sole purpose of having fun

4KOWO-like esolang is an esolang created by User:Ractangle based on User:Yayimhere's (otherwise known as 4KOWO) esolangs

syntax

Variable declaration:

Variable name » Variable value

just stops the program

⎵A push A to stack. Lasts untill a newline in code or a goto

pop from the stack

move the element to the other stack

same thing as but the stack pointer needs point at the other stack

pop the element from the stack and print it and check if the stack is empty. If the stack is empty do an action

conditional:

⁇ if condition, do Action else skip this command ﹝Action﹞

creates a label (the label name must be a number in order of declaration from one to the last label declared)

a goto statement. can be used as concatinating commands if the argument is not a number

gets user input and pushes to the stack

m pops three top elements on the stack and checks if the first top element is 1. If it's 1. use the two poped elements do multiplication, else do division instead

o the m command but the operations are plus and minus

moves the stack pointer to the other stack and vise versa

examples

Hello, world!

⎵Hello, world! ⏎ ⎋ ⚐

Truth-machine

i»⌨ ⏎ ⎵>i ⏎ ⁇ i&0 ﹝⏎1﹞ ⏎2
⚑1 ⎵0 ⏎ ⎋ ⚐
⚑2 ⎵1 ⏎ ⎋ ⏎2