diff options
| author | Ginger Bill <bill@gingerbill.org> | 2016-11-03 16:26:22 +0000 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2016-11-03 16:26:22 +0000 |
| commit | 6c2772d09338f044096240eeb01aa09d11ddda59 (patch) | |
| tree | 1afd1387e3b1cae497d725773f2c3cbf005eeba1 /code | |
| parent | 8534e064b9b4486f3e1c819666b02933387954f5 (diff) | |
Scrap Virtual Machine and begin again
I just didn't like the style of it.
Diffstat (limited to 'code')
| -rw-r--r-- | code/demo.odin | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/code/demo.odin b/code/demo.odin index 991650ca0..ee353c884 100644 --- a/code/demo.odin +++ b/code/demo.odin @@ -23,5 +23,10 @@ main :: proc() { } foo() - x := test("Hello") + x = test("Hello").count as i64 + xp := ^x + p := xp^ + + z := [..]i64{1, 2, 3, 4} + z[0] = p } |