From 19031d6c87120db91c2849ce367930f4b089e5e0 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Mon, 14 Sep 2015 22:49:24 +0200 Subject: cleanup of I and W, and addition of g and R --- rip-lang.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rip-lang.txt') 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 -- cgit v1.2.3-70-g09d2