Ink

From Esolang
Jump to navigation Jump to search

this esolang is very cool

What is Ink

ink is an esolang based off of colors and the creator [me] will keep adding new symbols and commands until the language is proven to be turing complete

SYNTAX TABLE

symbol function example color
C pushes the value in front of it to the stack C67 puts 67 at the top of the stack cyan
M takes a value from the bottom of the stack and stores it C85 C67 M. gives 85. magenta
Y takes a value from the top of the stack and stores it C11 C22 Y. gives 22. Yellow
K halts the program K key [don't ask what color is key]
R takes two values and adds them. C1 C-2 Y Y R. red
B takes a value and stores it into a variable B[number] C1 C1 Y Y R B2 blue
G takes a value and outputs it C1 Y G outputs 1 green
T takes user input T B1 G teal
L takes a value and outputs an ascii character C41 Y L outputs A [i think] lime
P takes two values and subtracks them C2 C1 P {outputs 1} pink
U if the top of the the stack is 0 skip next instruction purple
W go -to begginning W1 C1 M G N1 prints nothing broWn
N GOTO end see W Navy

Programs

still not enough syntax