Commit Graph

436 Commits

Author SHA1 Message Date
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
7d7626809d Start work on mdbook. 2026-03-26 16:29:42 -05:00
Jesse Brault
88487a911e Organize repo by moving out old stuff. 2026-03-25 11:20:46 -05:00
Jesse Brault
10221f6c3c Switch back to stable rust. 2026-03-25 11:16:18 -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
Jesse Brault
7665a92678 Sketching class. 2026-03-18 10:37:38 -05:00
Jesse Brault
42a5b994d2 Refactoring top-level constructs. 2026-03-17 11:26:57 -05:00
Jesse Brault
86fcbb494b Semantic analysis of generic args and params. 2026-03-16 12:37:10 -05:00
Jesse Brault
3466908a80 Lexing/parsing generic args. 2026-03-16 10:28:53 -05:00
Jesse Brault
b4094bf570 Sketching array-related things. 2026-03-15 19:18:27 -05:00
Jesse Brault
0dce883dbd op_prec example working. 2026-03-15 16:20:55 -05:00