Writing more real program and squashing bugs

This commit is contained in:
Krzosa Karol
2022-06-13 20:22:40 +02:00
parent 955167ce18
commit 2c431e3207
6 changed files with 68 additions and 15 deletions

View File

@@ -41,13 +41,14 @@ 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
[ ] - Rewrite where # happen,
[ ] - cast ->
[ ] - elif
[ ] - #assert that handles constants at compile time and vars at runtime
@@ -74,6 +75,8 @@ want to export all the symbols, we can namespace them optionally.
@donzo
[x] - Scope
[x] - Rewrite where # happen,
[x] - cast ->
[x] - Remodel compound from call to {}
[x] - Field access rewrite
[-] - Constants embeded in structs should be able to refer to other constants in that namespace without prefix