summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc7
1 files changed, 3 insertions, 4 deletions
diff --git a/test.toc b/test.toc
index 96b180a..b676fbe 100644
--- a/test.toc
+++ b/test.toc
@@ -1,8 +1,7 @@
-io ::= nms {
- #include "std/io.toc";
+factorial ::= fn(x: int) int {
+x*2
};
main ::= fn() {
- io.puts("Hello");
- int;
+ a ::= factorial(10);
}; \ No newline at end of file