summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc8
1 files changed, 7 insertions, 1 deletions
diff --git a/test.toc b/test.toc
index e50d6c5..de514ce 100644
--- a/test.toc
+++ b/test.toc
@@ -1,2 +1,8 @@
-addmul ::= fn (x:=0, y:=0) add := x+y, mul := x*y {
+addmul ::= fn (x::=0, y:=0)
+add := x+y, mul := x*y {
+
};
+
+main ::= fn() {
+ addmul(6,7);
+}; \ No newline at end of file