From 73725d0f4d1eea724829104b4483aa1585a31afd Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Fri, 8 Jan 2016 22:18:22 +0100 Subject: meta.rip stub --- stdlib.rip | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'stdlib.rip') diff --git a/stdlib.rip b/stdlib.rip index 56bacc6..7d209b7 100644 --- a/stdlib.rip +++ b/stdlib.rip @@ -8,6 +8,16 @@ F[ PP ] +0I[gets last character of string; destructive] +F[ + 28pM +] + +0I[drops last character of string; destructive] +F[ + 28pq +] + 0I[takes string char; returns string+char] F[ S28pma @@ -61,8 +71,8 @@ F[ 0lr 0lr 0lr 0I[guard] ] -0I[INTERNAL FUNCTION - hauls variable by name in argument to top of stack; pushes 0 0 if non-existent] +0I[hauls variable by name in argument to top of stack (result: name value); + pushes 0 0 if non-existent] F[ 00 0I[guard] lRlR -- cgit v1.2.3-70-g09d2