summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCarson Fleming <cflems@cflems.net>2026-07-30 22:54:31 -0400
committerCarson Fleming <cflems@cflems.net>2026-07-30 22:54:31 -0400
commit5adb568da4dfda6d5d9699ee4b92fe44b43fc4cf (patch)
tree0772ae3bf2f5bacfbeeece4eb69063cd20f92325 /README.md
parent65dd0651eb7d9e0434a88ec4118d64dfb119d74b (diff)
downloadccc-5adb568da4dfda6d5d9699ee4b92fe44b43fc4cf.tar.gz
token names
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 10 insertions, 6 deletions
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