aboutsummaryrefslogtreecommitdiff
path: root/std/stdlib.sloth
diff options
context:
space:
mode:
authornic-gaffney <gaffney_nic@protonmail.com>2023-06-25 23:21:02 -0500
committernic-gaffney <gaffney_nic@protonmail.com>2023-06-25 23:21:02 -0500
commitc3bb1751d7f62a13a46f28c1eb67d9e20d8d6f7f (patch)
tree7208642d10240c539405b4e1759576d3da5f468a /std/stdlib.sloth
parent578229132e35075ef191ee960460d237c3ace3b8 (diff)
downloadsloth-c3bb1751d7f62a13a46f28c1eb67d9e20d8d6f7f.tar.gz
Fixed standard library
Diffstat (limited to 'std/stdlib.sloth')
-rw-r--r--std/stdlib.sloth1
1 files changed, 1 insertions, 0 deletions
diff --git a/std/stdlib.sloth b/std/stdlib.sloth
index b1849e3..d7ddeff 100644
--- a/std/stdlib.sloth
+++ b/std/stdlib.sloth
@@ -2,6 +2,7 @@ foreign fn wait(x: Int) Void;
foreign fn print(str: String) Void;
foreign fn slen(str: String) Int;
foreign fn charAt(str: String) Char;
+foreign fn parse_int(str: String) Int;
fn termpos(x: int, y: int) Void {
print("\x1b[");