🥺 programs consist of a sequence of please-s to the runtime. Each please takes an argument as an integer (written in unary, as repeated
, characters). Other characters are ignored.
Please-s operate on the unstack, which is like a stack but reversed; values are pushed and popped from/to the bottom of the unstack, and propagate upwards.
Once the program halts, the unstack is printed, from the bottom up. By default, each value should be encoded in unary (as repeated
🥺 characters) and delimited by a newline. Programs may choose to optionally encode the integers as unicode codepoints.
||Pushes an integer |
||Pops an integer from the unstack, and pushes the result of floor division of that integer by |
||Take the |
||Pops two integers from the unstack, then pops and discards |
||Duplicates the |
||Pop a value from the bottom of the unstack. Jump back |