else if into elif

This commit is contained in:
Krzosa Karol
2022-06-14 21:25:02 +02:00
parent 44ee0f4351
commit 58e919ef69
3 changed files with 13 additions and 7 deletions

View File

@@ -42,15 +42,12 @@ want to export all the symbols, we can namespace them optionally.
@todo
[ ] - Fix field access, cant cast, cant index
[ ] - Fix codegen renames
[ ] - Add parent_scope to Ast_Type
[ ] - Should compound resolution use an algorithm to reorder compounds to initialize all fields in order
[ ] - Switch
[ ] - Add c string
[ ] - Some way to take slice of data
[ ] - slices should be properly displayed in debugger
[ ] - elif
[ ] - Imports inside of import shouldn't spill outside
[ ] - Optional function renaming
[ ] - #assert that handles constants at compile time and vars at runtime
[ ] - Comma notation when declaring variables thing1, thing2: S32
@@ -75,11 +72,15 @@ want to export all the symbols, we can namespace them optionally.
[ ] - Conditional compilation #if
@donzo
[x] - Add c string
[x] - slices should be properly displayed in debugger
[x] - Imports inside of import shouldn't spill outside
[x] - Scope
[x] - Hex 0x42
[x] - Rewrite where # happen,
[x] - cast ->
[x] - Remodel compound from call to {}
[x] - Fix codegen renames
[x] - Field access rewrite
[-] - Constants embeded in structs should be able to refer to other constants in that namespace without prefix
[-] - Order independent constants in structs