diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 20 |
1 files changed, 4 insertions, 16 deletions
@@ -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 |