diff options
| author | Ginger Bill <bill@gingerbill.org> | 2016-09-15 18:58:29 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2016-09-15 18:58:29 +0100 |
| commit | 807256dea4d22550ee5da48e806b4e773670fbfc (patch) | |
| tree | 8db9056e3117d67f4dee4b8b6fe7a7c84c4b3b2b /code/demo.odin | |
| parent | b6cb4f4d145bdc87aecf8edd678d025b22faff57 (diff) | |
ssa - alloca all variables at the very start
Diffstat (limited to 'code/demo.odin')
| -rw-r--r-- | code/demo.odin | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/code/demo.odin b/code/demo.odin index 8ac345de6..4fca39f63 100644 --- a/code/demo.odin +++ b/code/demo.odin @@ -1,14 +1,16 @@ -#import "fmt.odin" as fmt -// #import "game.odin" as game +#import "runtime.odin" as _ +#import "punity.odin" as punity -test_proc :: proc() { - fmt.println("Hello?") -} main :: proc() { - x := 0 - // fmt.println("% % % %", "Hellope", true, 6.28, {4}int{1, 2, 3, 4}) - fmt.println("%(%)", #file, #line) - // game.run() + init :: proc() { + + } + + step :: proc() { + + } + + punity.run(init, step) } |