diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-03-05 21:22:33 +0000 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-03-05 21:22:33 +0000 |
| commit | e2734a2dc676d236757801973c6786d3d3e6bbee (patch) | |
| tree | 2446c35b95dc9b9f0315254ada9d2dbdb4384e6e /code | |
| parent | 5adfbec847a2253392b14043a82d5fbf56122ce5 (diff) | |
Begin work on the custom backend
Diffstat (limited to 'code')
| -rw-r--r-- | code/demo.odin | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/code/demo.odin b/code/demo.odin index 2d03e2ec7..905ae53d8 100644 --- a/code/demo.odin +++ b/code/demo.odin @@ -9,19 +9,15 @@ #import "sync.odin"; main :: proc() { - // buf: [64]byte; - // // len := strconv.generic_ftoa(buf[..], 123.5431, 'f', 4, 64); - // x := 624.123; - // s := strconv.format_float(buf[..], x, 'f', 6, 64); - // fmt.println(s); - // fmt.printf("%3d\n", 102); + x := 2; + y := 3; + z := x+y; + fmt.println(z); +when false { s := new_slice(int, 0, 10); append(s, 1, 2, 6, 3, 6, 5, 5, 5, 5, 1, 2); fmt.println(s); - - -when false { /* Version 0.1.1 |