checking things off
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Tue, 25 Aug 2020 15:27:59 +0000 (10:27 -0500)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Tue, 25 Aug 2020 15:27:59 +0000 (10:27 -0500)
docs/plan
onyx

index 23908c9162e6bb6aac89f99a4e6713fbe1bdf346..f928a5a39c6da990d46a125867efaca01ad3e551 100644 (file)
--- a/docs/plan
+++ b/docs/plan
@@ -211,20 +211,13 @@ HOW:
 
         [X] fallthrough on cases in switch statements
 
-        [ ] initializers on switch statements
+        [X] initializers on switch statements
 
         [ ] #file and #line directives
             - string and u32 respectively that represent the current file and line number where the directive is
 
         [ ] transmute
 
-        [ ] 'use' enums and packages at an arbitrary scope
-
-        [ ] convert to using an 'atom' like table
-            - All identifier tokens are given a unique atom ptr, up to string equality.
-            - This means identifiers can be compared using ptr comparison, instead of string comparison
-            - This mean no more token_toggle_end!! Woo!!
-
         [ ] Put type info in data section so it is runtime accessible
             - type name
             - size
@@ -232,6 +225,13 @@ HOW:
             - struct member names
             - array length
 
+        [ ] 'use' enums and packages at an arbitrary scope
+
+        [ ] convert to using an 'atom' like table
+            - All identifier tokens are given a unique atom ptr, up to string equality.
+            - This means identifiers can be compared using ptr comparison, instead of string comparison
+            - This mean no more token_toggle_end!! Woo!!
+
         [X] Make the lexer much faster
             - Technically it isn't slow right now
             - But, profiling says we are spending 50% of the program execution time in the lexer
diff --git a/onyx b/onyx
index df64f5caae3d40145d9af5269a0f65a34a67f61b..77225f13f1ea77ff40f8280966f62d2d24b257cd 100755 (executable)
Binary files a/onyx and b/onyx differ