windows.odin TYPE_NAME to Type_Name; More SSA work and SSA printing for debugging

This commit is contained in:
Ginger Bill
2017-03-12 16:42:51 +00:00
parent 0fcbda951a
commit aaec8bf423
14 changed files with 1653 additions and 583 deletions

View File

@@ -7,17 +7,18 @@
#import "os.odin";
#import "strconv.odin";
#import "sync.odin";
#import win32 "sys/windows.odin";
main :: proc() {
a: i8 = -1;
fmt.println(a, cast(u64)a, cast(i64)a);
b: i64 = -1;
fmt.println(b, cast(u64)b, cast(i64)b);
a := 1;
b := 2;
c := a + b;
if c > 0 {
c = 0;
}
when false {
s := new_slice(int, 0, 10);
append(s, 1, 2, 6, 3, 6, 5, 5, 5, 5, 1, 2);
fmt.println(s);
/*
Version 0.1.1