diff options
Diffstat (limited to 'rip-lang.txt')
-rw-r--r-- | rip-lang.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rip-lang.txt b/rip-lang.txt index 9c08942..2ddc1ed 100644 --- a/rip-lang.txt +++ b/rip-lang.txt @@ -12,7 +12,7 @@ d: decrement 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)) +a s m q M p: + - * / % ^ (add, subtract, multiply, quotient (integer), modulo, power) G L E: greater, less, equal; booleans are 1 and 0, as you expect n: not; equivalent to 0E [ ... ]: syntactical; a codeblock @@ -26,6 +26,9 @@ F<bla>[code]: define a function named "bla" with the body "code" $: outputs a stackdump whitespace: nop +'c: pushes the ascii value of c +#<file.rip>: literally includes contents of 'file.rip' in-place + Any error causes the interpreter to exit, saying "rip". |