MiniUSPL

Still adding instructions. --OberoN 17:40, 6 November 2011 (UTC)

miniUSPL (mini Unic Stack Programming Language) is an esolang. It's also a Turing tarpit.

Overview and Instructions
In miniUSPL you have a FIFO stack of characters, and 14 instructions, as well as 14 symbols.

These are: = -> Prints the stack[0] as a char $ -> Prints the stack[0] as an int + -> stack[0]=(stack[0]+stack[1]) mod 256 - -> stack[0]=(stack[0]-stack[1]) mod 256 * -> stack[0]=(stack[0]*stack[1]) mod 256 / -> stack[0]=(stack[0]/stack[1]) mod 256 & -> stack[0]=stack[0]&stack[1] | -> stack[0]=stack[0]|stack[1] ^ -> stack[0]=stack[0]^stack[1] > -> Pushes the next char onto the stack < -> Pulls and discards the first item % -> Duplicates and pushes stack[0] onto the stack ( -> While stack[0] isn't equal to the next char, it loops over the 2nd next char { -> Start of an infinite loop } -> End of an infinite loop

Programs
This is the Hello World program: >H=>e=>l==>o=> =>W=o>=r>=l>=d>=>!= And this calculates the Fibonacci sequence: >�>�-${+%$}