aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomsmeding <hallo@tomsmeding.nl>2015-10-14 10:14:57 +0200
committertomsmeding <hallo@tomsmeding.nl>2015-10-14 10:26:37 +0200
commit80c109031725d328676aeed0b76f3b10204ce508 (patch)
tree7abca26ef903f9459a09797c34b126fdb71b123d
parent7ceeb20b0aebe0eac8aeb9140f491973756c32bd (diff)
Fix docs
-rw-r--r--rip-lang.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/rip-lang.txt b/rip-lang.txt
index 98dba1f..9c08942 100644
--- a/rip-lang.txt
+++ b/rip-lang.txt
@@ -1,7 +1,7 @@
Rip -- a stack-based rip language
=================================
-All stack items are integers, of unspecified but constant size
+All stack items are integers, of unspecified but reasonable size
0-9: push value
P: pop
@@ -9,8 +9,8 @@ S: swap
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
+r: pops the number of items to rotate anti-clockwise
+R: pops the number of items to rotate clockwise
l: push length of stack (before this push)
a s m q: + - * / (add, subtract, multiply, quotient (integer))
G L E: greater, less, equal; booleans are 1 and 0, as you expect