summaryrefslogtreecommitdiff
path: root/test.toc
blob: 4274d9717522a256b37a3a2b5db83562f8249b1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
arr ::= pkg "std/arr";
io ::= pkg "std/io";
main ::= fn() {
#include "incstuff.toc";
		   {
		   #include "incstuff.toc";

		   }
	s : [1]char;
	s[0] = (arr.arr_len(x) as char) + '0';
	io.puts(s[:]);
	for c := x.data {
		s[0] = c;
		io.puts(s[:]);
	}
};