summaryrefslogtreecommitdiff
path: root/woa/stdlib.sin
diff options
context:
space:
mode:
authorMaggie Harley2024-06-26 21:36:33 +0100
committerMaggie Harley2024-06-26 21:36:33 +0100
commit5447047aedb010bd84844d29216f7407dfc0ab2f (patch)
tree4bb411cc99cfb80a1af15dde2e196196bfeb67e6 /woa/stdlib.sin
parentAdd .mailmap (diff)
downloadsinter-mag/wip.tar.gz
sinter-mag/wip.zip
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]]