diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -3,10 +3,14 @@ fuck it, we ball TODO soon: -- [ ] type checking +- [ ] let cgen use more than one register + - [ ] basic used/unused register tracking so allocate_temporary can allocate + a register + - [ ] proper deallocation of temporaries when they are no longer used + - [ ] spilling of values occupying calling convention registers when a + function is called + - [ ] allowing variable values to be kept in registers temporarily and then + spilled to their permanent memory locations - [ ] use evaluated types to make code gen around math better -- [ ] ideally we don't want to recompute the definitions that live in scopes - - [ ] add a `struct scope* scope` to expr_node - - [ ] make the root scope live on a `struct ast` that houses the root node as well - - [ ] handle scope deallocation in ast.c - - [ ] `group_node` and `fn_decl_node` can have a `struct scope* scope` that they own +- [ ] support for functions/function pointers as types + - [ ] move the "expression not callable" stuff to the type checker
\ No newline at end of file |
