Commit Graph

24 Commits

Author SHA1 Message Date
Jesse Brault
584e7224a7 Compile pipeline WIP and various refactoring. 2026-03-27 11:59:59 -05:00
Jesse Brault
c5781114a5 Repl with let statements mostly working. 2026-03-25 10:12:05 -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
5a123419bd Assign statements ir and fixing some things. 2026-03-14 19:53:06 -05:00
Jesse Brault
7e613b1b90 Parsing/analyzing assign statements. 2026-03-14 10:36:53 -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
89f519c45f Refactor scopes and symbol table for more resiliency and classes/fields. 2026-03-11 15:05:47 -05:00
Jesse Brault
9df9edc508 Add doubles. 2026-03-10 17:32:16 -05:00
Jesse Brault
ebca87ddb9 A lot of work just to do subtraction. 2026-03-09 19:22:35 -05:00
Jesse Brault
e35bacb583 Bunch of AST refactoring to make api easier. 2026-03-09 16:35:32 -05:00
Jesse Brault
9d09f7481b Add unary minus and subtraction to lexer/parser/ast node kinds. 2026-03-09 12:33:14 -05:00
Jesse Brault
12c4d0eb83 End-to-end with register allocation. 2026-03-08 01:27:09 -06:00
Jesse Brault
4479fcb1ba Refactor register allocation code to separate module. 2026-03-07 17:53:34 -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
c91bb35d8d Giving more info to ir. 2026-03-05 16:30:39 -06:00
Jesse Brault
15089a15d2 Re-introduce ir with goal of doing register allocation. 2026-03-05 12:41:05 -06:00
Jesse Brault
7d8df883e6 Fix identifier type info being called too early bug. 2026-03-04 22:05:53 -06:00
Jesse Brault
e1afb6b43b Much work on adding and calling. 2026-03-03 21:06:12 -06:00
Jesse Brault
8c1d56dc1a Remove ir structs and fix misc. warnings. 2026-03-02 20:15:36 -06:00
Jesse Brault
6593a1cfd1 Assembling directly from AST. 2026-02-28 08:22:57 -06:00
Jesse Brault
aefac57b9d Starting work on IR. 2026-02-27 16:26:56 -06:00
Jesse Brault
8df46eec8d Moving to dmc-lib, keeping it smaller! 2026-02-27 12:14:42 -06:00