aboutsummaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
Diffstat (limited to 'code')
-rw-r--r--code/old_demos/demo001.odin33
-rw-r--r--code/test.odin6
2 files changed, 21 insertions, 18 deletions
diff --git a/code/old_demos/demo001.odin b/code/old_demos/demo001.odin
index 7e80f0d1b..c3fc0f663 100644
--- a/code/old_demos/demo001.odin
+++ b/code/old_demos/demo001.odin
@@ -6,21 +6,24 @@
// #import "punity.odin" as pn;
main :: proc() {
- // struct_padding()
- // bounds_checking()
- // type_introspection()
- // any_type()
- // crazy_introspection()
- // namespaces_and_files()
- // miscellany()
- // ht.run()
- // game.run()
- // {
- // init :: proc(c: ^pn.Core) {}
- // step :: proc(c: ^pn.Core) {}
-
- // pn.run(init, step)
- // }
+ struct_padding();
+ bounds_checking();
+ type_introspection();
+ any_type();
+ crazy_introspection();
+ namespaces_and_files();
+ miscellany();
+
+ /*
+ ht.run();
+ game.run();
+ {
+ init :: proc(c: ^pn.Core) {}
+ step :: proc(c: ^pn.Core) {}
+
+ pn.run(init, step);
+ }
+ */
}
struct_padding :: proc() {
diff --git a/code/test.odin b/code/test.odin
index 18fc36c16..bcd4ddc57 100644
--- a/code/test.odin
+++ b/code/test.odin
@@ -5,10 +5,10 @@ thing :: proc() {
}*/
-#import "fmt.odin" as format
+#import "fmt.odin";
-thing :: proc() {
- format.println("Hello2!")
+main :: proc() {
+ fmt.println("hello, world!");
}