| ... | @@ -3,39 +3,6 @@ | ... | @@ -3,39 +3,6 @@ |
| 3 | their indexes starting at 0 so that we can use an array to store Sema | 3 | their indexes starting at 0 so that we can use an array to store Sema |
| 4 | results rather than a map. | 4 | results rather than a map. |
| 5 | | 5 | |
| 6 | * have failed_trees and just put the file in there | | |
| 7 | - this way we can emit all the parse errors not just the first one | | |
| 8 | - but maybe we want just the first one? | | |
| 9 | | | |
| 10 | * need a var decl zir instruction which includes the name because we need to do the | | |
| 11 | compile error for a local shadowing a decl with Sema looking up the decl name. | | |
| 12 | - this means LocalVal and LocalPtr should use the string table | | |
| 13 | | | |
| 14 | * sort compile errors before presenting them to eliminate nondeterministic error reporting | | |
| 15 | | | |
| 16 | * AstGen: add result location pointers to function calls | | |
| 17 | * nested function decl: how to refer to params? | | |
| 18 | | | |
| 19 | * memory efficiency: add another representation for structs which use | | |
| 20 | natural alignment for fields and do not have any comptime fields. this | | |
| 21 | will save 16 bytes per struct field in the compilation. | | |
| 22 | | | |
| 23 | * extern "foo" for vars | | |
| 24 | | | |
| 25 | * use ZIR memory for decl names where possible and also for keys | | |
| 26 | - this will require more sophisticated changelist detection which does some | | |
| 27 | pre-emptive deletion of decls from the parent namespace | | |
| 28 | | | |
| 29 | * better anonymous Decl naming convention | | |
| 30 | - avoid the global atomic integer for the number because of contention | | |
| 31 | | | |
| 32 | * AstGen memory leak with `block_gz.labeled_store_to_block_ptr_list.append` | | |
| 33 | | | |
| 34 | * in SwitchProng resolve, make sure AST tree gets loaded. | 6 | * in SwitchProng resolve, make sure AST tree gets loaded. |
| 35 | It will be unloaded if using cached ZIR. | 7 | It will be unloaded if using cached ZIR. |
| 36 | | 8 | |
| 37 | * make AstGen smart enough to omit elided store_to_block_ptr instructions | | |
| 38 | | | |
| 39 | * repl: if you try `run` with -ofmt=c you get an access denied error because it | | |
| 40 | tries to execute the .c file as a child process instead of executing `zig run` | | |
| 41 | on it. | | |