summaryrefslogtreecommitdiff
path: root/test.toc
blob: 61370d1387e52b26101f208d4fab273cb44c4214 (plain)
1
2
3
4
5
6
7
8
9
puti ::= fn(x: int) {
	 #C("printf(\"%ld\\n\", (long)x);
");
};
putf ::= fn(x: float) {
	 #C("printf(\"%f\\n\", (double)x);
");
};
point ::= pkg "point";