summaryrefslogtreecommitdiff
path: root/woa/stdlib.sin
diff options
context:
space:
mode:
Diffstat (limited to 'woa/stdlib.sin')
-rw-r--r--woa/stdlib.sin20
1 files changed, 20 insertions, 0 deletions
diff --git a/woa/stdlib.sin b/woa/stdlib.sin
new file mode 100644
index 0000000..8dba31c
--- /dev/null
+++ b/woa/stdlib.sin
@@ -0,0 +1,20 @@
+[dec stdlib_multiply_integers [a b]]
+[def *Integer [a b] [stdlib_multiply_integers a b]]
+
+[dec stdlib_add_integers [a b]]
+[def +Integer [a b] [stdlib_add_integers a b]]
+
+[dec stdlib_subtract_integers [a b]]
+[def -Integer [a b] [stdlib_subtract_integers a b]]
+
+[dec stdlib_less_than_or_equal_to_integer [a b]]
+[def <=Integer [a b] [stdlib_less_than_or_equal_to_integer a b]]
+
+[dec stdlib_string_concatenate [a b]]
+[def ++ [a b] [stdlib_string_concatenate a b]]
+
+[dec stdlib_print_string [a w]]
+[def Prelude::IO::prim__putStr [a w] [stdlib_print_string a w]]
+
+[dec __mainExpression-0 []]
+[def sinter_main [] [__mainExpression-0]]