diff options
-rw-r--r-- | rip-lang.txt | 6 |
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 |