User:V tgbjmehny
Jump to navigation
Jump to search
mfsbpltthann
My name is V tgbjmehny, which as you can see is just random letters my esolang:
Name:
my first stack based programming language that totally has a normal name
How it works:
new [name of varable] push [name of varable] [value] pop [name of varable] copy [name of varable] [varable] add [1st varable] [2nd varable] (1 = 1 + 2) sub [1st varable] [2nd varable] (1 = 1 - 2) reverse [name of varable] if [equal|less|greater] [1st varable] [2nd varable] endif while [equal|less|greater] [1st varable] [2nd varable] endwhile input [name of varable] output [name of varable] stop (all varables are stacks)
Basic programs:
Hello, World!
new a push a 72 push a 101 push a 108 push a 108 push a 111 push a 44 push a 32 push a 119 push a 111 push a 114 push a 108 push a 100 push a 33 output a stop
Truth-machine
new a input a new 0 new 1 if equal a 0 output 0 stop endif if equal a 1 while equal 1 1 output 1 endwhile endif
bye!