Simple Smurf
Jump to navigation
Jump to search
Simple Smurf is a very simple language invented by User:A.
It initializes the tack with input, in the end pop a string and output, and pop another to execute as a program.
j | Pop 2 variable names and join their values. |
s | splits a string into a head and a tail and pushes them onto the stack (tail first) |
" | next character is added to the string buffer. This ends with '?' . |
p | pops two strings from the stack, and sets the variable with the name specified by the first string to the value specified by the second string. |
q | quotes the string on the top. |