summaryrefslogtreecommitdiff
path: root/tnslc/tnslc.tnsl
blob: 89fe80ba2cb43d3d81ab426af00ac1c38b54141f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
:import "c_wrap_linux.tnsl"

/; module utils
	:import "vector.tnsl"
	:import "file.tnsl"
;/

:import "compile/compile.tnsl"

~uint8 HELLO = "hello world\n\0"

/; main [int]
	utils.Vector vec

	vec.init(1)

	vec.push_cstr(HELLO)

	_printf(vec.data)

	vec.end()

	return 0
;/