index
:
toc.git
trunk
A programming language which compiles to C
root
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
test.toc
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'test.toc')
-rw-r--r--
test.toc
7
1 files changed, 6 insertions, 1 deletions
diff --git a/test.toc b/test.toc
index c57996e..2df6c46 100644
--- a/
test.toc
+++ b/
test.toc
@@ -1,4 +1,9 @@
+foo ::= fn(x: int) int {
+ 2*x
+}
+
main ::=fn(){
+ foo(foo(10));
- yeoop #C 3;
}
+main();