aboutsummaryrefslogtreecommitdiff
path: root/src/functions.ml
diff options
context:
space:
mode:
Diffstat (limited to 'src/functions.ml')
-rwxr-xr-xsrc/functions.ml14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/functions.ml b/src/functions.ml
new file mode 100755
index 0000000..56d7530
--- /dev/null
+++ b/src/functions.ml
@@ -0,0 +1,14 @@
+let u = UTF8.from_utf8string
+
+let eq = u"="
+let neq = u"<>"
+let lt = u"<"
+let le = u"<="
+let gt = u">"
+let ge = u">="
+
+let add = u"+"
+let mul = u"*"
+let pow = u"^"
+let div = u"/"
+let sub = u"-"