aboutsummaryrefslogtreecommitdiff
path: root/rip-lang.txt
diff options
context:
space:
mode:
authortomsmeding <hallo@tomsmeding.nl>2015-09-14 22:49:24 +0200
committertomsmeding <hallo@tomsmeding.nl>2015-09-14 22:49:24 +0200
commit19031d6c87120db91c2849ce367930f4b089e5e0 (patch)
tree0cea68516773ba2e9696ec7aab04374eb33d25b9 /rip-lang.txt
parent3aefc346f893c14a0832e09807e7687f03a68590 (diff)
cleanup of I and W, and addition of g and R
Diffstat (limited to 'rip-lang.txt')
-rw-r--r--rip-lang.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/rip-lang.txt b/rip-lang.txt
index 2c553cd..0eb43b8 100644
--- a/rip-lang.txt
+++ b/rip-lang.txt
@@ -10,6 +10,7 @@ D: duplicate
i: increment
d: decrement
r: pops the number of items to rotate clockwise
+R: pops the number of items to rotate anti-clockwise
+ - * /: just what you expect
> < =: comparisons; booleans are 1 and 0, as you expect
[ ... ]: syntactical; a codeblock
@@ -17,6 +18,8 @@ I: pops boolean, conditionally executing the codeblock that should follow the I,
W: I, but then "while" instead of "if"
o: outputs the top value as an ascii char
O: outputs the top value as a number
+g: gets a character and pushes the ascii value
+S: outputs a stackdump
whitespace: nop