Cookie961 language interpreter written on python
-
c - Adds 1 to the value in the cookie
-
C - Adds 10 to the value in the cookie
-
k - Multiplies the cookie value by 2
-
K - Multiplies the cookie value by 5
-
o - Subtracts 1 from the value in the cookie
-
i - Stores the output value and turns it into 0
-
I - Stores the output value
-
E - Clears the value in the cookie
-
9 - String input
-
6 - Command(math problem) input
-
1 - Outputs cookie value
-
( - Cycle Starts
-
) - Cycle Ends
-
[ - Math Expression starts
-
] - Math Expression ends
-
r - Prints random value
-
R - Adds random number to cookie value
-
e - Programm ends
python cookie961.py filename.c961