summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc20
1 files changed, 4 insertions, 16 deletions
diff --git a/test.toc b/test.toc
index 7b57b1b..96b180a 100644
--- a/test.toc
+++ b/test.toc
@@ -2,19 +2,7 @@ io ::= nms {
#include "std/io.toc";
};
-n ::= nms {
- #export x := 1;
- #export counter ::= fn() int { x += 1; x };
-};
-
-
-#export main ::= fn() {
- a := n.counter();
- b := n.counter();
- n.counter();
- c := n.counter();
- io.puts("Hello!");
- io.puti(a);
- io.puti(b);
- io.puti(c);
-};
+main ::= fn() {
+ io.puts("Hello");
+ int;
+}; \ No newline at end of file