Commit Graph

118 Commits

Author SHA1 Message Date
Jesse Brault
08625404ae WIP AnalysisContext abstraction and methods. 2026-07-16 18:33:15 -05:00
Jesse Brault
c54db2d70d Work on better AnalysisContext abstractions. 2026-07-12 19:17:51 -05:00
Jesse Brault
57abc03145 Work on better Scope abstraction. 2026-07-12 16:42:14 -05:00
Jesse Brault
7b76771843 Repl with expressions working, let statements still not working. 2026-07-11 14:37:29 -05:00
Jesse Brault
ed6f15a8a9 Making semantic analysis more flexible so we can have a repl again soon. 2026-07-10 22:15:51 -05:00
Jesse Brault
9b2e952bf8 Some examples/ files working again. 2026-07-03 17:37:08 -05:00
Jesse Brault
c69098db71 All non-class e2e tests passing. 2026-07-03 16:58:35 -05:00
Jesse Brault
f15ff43df8 Fix test for overlapping register assignments when k=2. 2026-07-03 15:29:33 -05:00
Jesse Brault
a568144ccc Fix pass-through configuration of register count. 2026-07-03 14:58:19 -05:00
Jesse Brault
46ced3980a Some e2e tests passing again. Yay! 2026-06-26 18:22:56 -05:00
Jesse Brault
c59fbe4033 Fix some analysis/lowering bugs. WIP. 2026-06-26 18:02:21 -05:00
Jesse Brault
01df9a708f Complete sketch of interface between dmc-lib compile functions and other modules. 2026-06-25 14:49:32 -05:00
Jesse Brault
85e29367a8 Quick fix compilation errors in old AST code. 2026-06-20 16:50:30 -05:00
Jesse Brault
1150b03a29 Add youtube link for allocation algorithms. 2026-06-20 16:18:59 -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
d5bfe9ad28 Add semantic analysis module and first steps. 2026-05-23 21:21:31 -05:00
Jesse Brault
0b270c186b WIP. 2026-05-21 17:06:43 -05:00
Jesse Brault
4dd3140538 WIP. 2026-05-21 14:54:29 -05:00
Jesse Brault
639d052e9c Work on Identifier and some formatting. 2026-05-12 12:56:44 -05:00
Jesse Brault
34480a0870 Filling various code holes. WIP. 2026-05-11 13:23:08 -05:00
Jesse Brault
9d3e906957 Push constructor IrFunction in class lowering. WIP. 2026-05-11 13:05:31 -05:00
Jesse Brault
d50cc24d0a Work on constructor with new lowering api. WIP. 2026-05-04 14:02:34 -05:00
Jesse Brault
1bd1e5c23a Work on classes and lowering to IR. WIP. 2026-05-01 14:53:01 -05:00
Jesse Brault
11d368ab1a Fix compile errors WIP. 2026-05-01 14:19:01 -05:00
Jesse Brault
50884e38fa New lowering methods WIP. 2026-04-22 10:35:56 -04:00
Jesse Brault
4ae4f7e9e6 Work on new compile pipeline and semantic analysis flow WIP. 2026-04-12 17:24:37 -05:00
Jesse Brault
96ea0c5e50 Resolve types WIP. 2026-04-09 13:55:55 -05:00
Jesse Brault
3a75a0c8e8 Work on new name resolve methods WIP. 2026-04-06 20:43:30 -05:00
Jesse Brault
fe8ab3601c Add FileId to CompilationUnit. 2026-03-31 12:16:09 -05:00
Jesse Brault
64526a0b1c Small parser changes. 2026-03-30 14:04:29 -05:00
Jesse Brault
f95d504f88 Another big parser refactor, collecting diagnostics better. 2026-03-28 20:51:29 -05:00
Jesse Brault
0df1252053 Tiny changes. 2026-03-27 13:29:48 -05:00
Jesse Brault
06fafb825a Found some unused imports. 2026-03-27 12:00:57 -05:00
Jesse Brault
584e7224a7 Compile pipeline WIP and various refactoring. 2026-03-27 11:59:59 -05:00
Jesse Brault
178ce5d1a6 Immutable use of FqnContext. 2026-03-27 11:27:19 -05:00
Jesse Brault
c5781114a5 Repl with let statements mostly working. 2026-03-25 10:12:05 -05:00
Jesse Brault
655a0288d3 Some parser refactoring. 2026-03-23 15:47:37 -05:00
Jesse Brault
53ec6a8f4f Unused import. 2026-03-23 10:47:47 -05:00
Jesse Brault
41e798d8a6 Refactor lexer for readability and less method calls. 2026-03-23 10:47:23 -05:00
Jesse Brault
916b6377ac All examples working again. 2026-03-21 18:18:28 -05:00
Jesse Brault
bb2b539f9b All tests passing again. 2026-03-21 18:04:13 -05:00
Jesse Brault
4d6aa3ffd4 Fixing name checking for constructor assignment destinations. WIP. 2026-03-21 17:53:35 -05:00
Jesse Brault
344761022b More fixes to type info, etc. WIP. 2026-03-21 17:42:10 -05:00
Jesse Brault
fc83cf7827 Preparing for intrinsic class symbols. WIP. 2026-03-21 11:36:42 -05:00
Jesse Brault
7f1d507f4f Fixing more bugs. WIP. 2026-03-21 10:55:47 -05:00
Jesse Brault
912f208705 Fixing bugs. WIP. 2026-03-20 23:57:09 -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
8724c07ae2 Refactor class ast node. 2026-03-18 15:12:51 -05:00