Better name mangler for SSA generation

TODO: Define better name mangling rules and allow for explicit name overload
This commit is contained in:
Ginger Bill
2016-09-18 21:44:22 +01:00
parent 2d6171f3e5
commit 828095afd1
14 changed files with 195 additions and 547 deletions
+14 -9
View File
@@ -1,14 +1,19 @@
#import "punity.odin" as pn
#import "punity.odin" as pn
#import "test.odin" as t1
#import "sub/test.odin" as t2
main :: proc() {
init :: proc(c: ^pn.Core) {
}
t1.thing()
t2.thing()
step :: proc(c: ^pn.Core) {
if pn.key_down(pn.Key.ESCAPE) {
c.running = false
}
}
// init :: proc(c: ^pn.Core) {
// }
pn.run(init, step)
// step :: proc(c: ^pn.Core) {
// if pn.key_down(pn.Key.ESCAPE) {
// c.running = false
// }
// }
// pn.run(init, step)
}