summaryrefslogtreecommitdiff
path: root/README.md
blob: 2cfb49864031936750026bfd4bef2946042f14ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Carson's C Compiler

fuck it, we ball

TODO soon:
- [ ] 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
- [ ] support for functions/function pointers as types
  - [ ] move the "expression not callable" stuff to the type checker