From 80c109031725d328676aeed0b76f3b10204ce508 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Wed, 14 Oct 2015 10:14:57 +0200 Subject: Fix docs --- rip-lang.txt | 6 +++--- 1 file 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 -- cgit v1.2.3-70-g09d2