Initial release version

* Code cleanup
* Fix some TODOs
* Reduce heap allocation use and replace with arena allocation
This commit is contained in:
gingerBill
2016-07-09 00:31:57 +01:00
parent 9ba2a6d02c
commit f7a669d342
14 changed files with 598 additions and 254 deletions
+3 -1
View File
@@ -2,12 +2,13 @@ type Vec2: struct {
x, y: f32;
}
print_string_array :: proc(args: []string) {
args[0] = "";
}
main :: proc() {
x := 0;
thing :: proc(n: int) -> int, f32 {
return n*n, 13.37;
}
@@ -15,4 +16,5 @@ main :: proc() {
thang :: proc(a: int, b: f32, s: string) {
}
thang(thing(1), "Yep");
}