diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1,4 +1,11 @@ #include "std/io.toc"; -puti ::= fn() { -} +x ::= 3; + + +main ::= fn() { + p ::= nms { + y := 5; + } + puti(p.x); +} |
index : toc.git | ||
A programming language which compiles to C | root |
summaryrefslogtreecommitdiff |