Commit Graph

21 Commits

Author SHA1 Message Date
Jesse Brault
1e9a0ec993 Repl let statements working! 2026-08-08 12:13:11 -05:00
Jesse Brault
7b76771843 Repl with expressions working, let statements still not working. 2026-07-11 14:37:29 -05:00
Jesse Brault
f15ff43df8 Fix test for overlapping register assignments when k=2. 2026-07-03 15:29:33 -05:00
Jesse Brault
b29753bc05 Cleaning up parameter/variable distinction; first attempt at managing register spills. WIP. 2026-06-19 19:17:58 -05:00
Jesse Brault
737d7b4232 Much work from semantic analysis to lowering to ir/register alloc to assembly. WIP. 2026-06-19 17:07:11 -05:00
Jesse Brault
fe8ab3601c Add FileId to CompilationUnit. 2026-03-31 12:16:09 -05:00
Jesse Brault
f95d504f88 Another big parser refactor, collecting diagnostics better. 2026-03-28 20:51:29 -05:00
Jesse Brault
c5781114a5 Repl with let statements mostly working. 2026-03-25 10:12:05 -05:00
Jesse Brault
344761022b More fixes to type info, etc. WIP. 2026-03-21 17:42:10 -05:00
Jesse Brault
4e8fa159c0 Fewer tests failing. WIP. 2026-03-20 20:39:30 -05:00
Jesse Brault
cf92356585 Major refactor of frontend ast semantic analysis. WIP. 2026-03-20 19:36:06 -05:00
Jesse Brault
55a84a98b3 More work on getting example to compile, need to use fqns and proper returns. 2026-03-12 23:48:35 -05:00
Jesse Brault
9790ec6ca6 Remove module_level_declaration ast node. 2026-03-11 12:14:50 -05:00
Jesse Brault
12174c9cf6 Add stack offset propagation, clean up some deprecated things. 2026-03-08 13:14:38 -05:00
Jesse Brault
12c4d0eb83 End-to-end with register allocation. 2026-03-08 01:27:09 -06:00
Jesse Brault
1171ce75f9 Propagate register assignments. 2026-03-07 18:25:16 -06:00
Jesse Brault
4479fcb1ba Refactor register allocation code to separate module. 2026-03-07 17:53:34 -06:00
Jesse Brault
5d565ccf91 Fix register allocation algorithm. 2026-03-06 20:16:00 -06:00
Jesse Brault
8e9ae9ed98 Implement register allocation algorithm, with a few bugs. 2026-03-05 23:19:00 -06:00
Jesse Brault
272d288213 Implement block/statement interference graph algorithm. 2026-03-05 20:41:25 -06:00
Jesse Brault
15089a15d2 Re-introduce ir with goal of doing register allocation. 2026-03-05 12:41:05 -06:00