From 5adb568da4dfda6d5d9699ee4b92fe44b43fc4cf Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Thu, 30 Jul 2026 22:54:31 -0400 Subject: token names --- README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 4ff2649..2cfb498 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3