Commit Graph

465 Commits

Author SHA1 Message Date
Jesse Brault
a87b4efaf0 Work on type resolution, WIP. 2026-08-29 20:35:29 -05:00
Jesse Brault
10579e2ad2 Fix String adding without needing to add trait machinery (yet). 2026-08-27 11:39:39 -05:00
Jesse Brault
f0f377e44e Basic work on core lib and impl. 2026-08-27 11:15:17 -05:00
Jesse Brault
b8f2620279 String len method working! 2026-08-27 05:45:44 -05:00
Jesse Brault
347a9ec9c9 Add Path parsing, AST node, sketching semantic analysis logic. WIP. 2026-08-22 17:41:25 -05:00
Jesse Brault
2dfd8e8a29 Finish parser refactor, simplifying code and diagnostics handling. 2026-08-21 16:38:30 -05:00
Jesse Brault
4e3f1677be Fixed some lexer/parser bugs related to lexer errors. 2026-08-21 13:50:44 -05:00
Jesse Brault
6ac075ffd0 Parser refactoring to use new (Maybe)ParseResult types, WIP. 2026-08-21 13:18:20 -05:00
Jesse Brault
56196551b8 Add better error reporting for repl. 2026-08-20 20:02:23 -05:00
Jesse Brault
05a1f5d091 Parser refactoring for Option<Expression>. 2026-08-20 20:01:47 -05:00
Jesse Brault
a4b9b958e9 Parser refactoring WIP. 2026-08-20 10:19:05 -05:00
Jesse Brault
dbbcda638f Delete more old unused code. 2026-08-13 17:54:43 -05:00
Jesse Brault
e7145de68e Clean out old original implementations of ast passes. 2026-08-13 17:46:13 -05:00
Jesse Brault
826c9fb2b7 Fix register allocate bug/typo. 2026-08-13 15:14:36 -05:00
Jesse Brault
c1447444cc Repl clean up. 2026-08-08 13:40:28 -05:00
Jesse Brault
1e9a0ec993 Repl let statements working! 2026-08-08 12:13:11 -05:00
Jesse Brault
5edf8964dc StorageEnvironment abstraction in lowering module. 2026-08-07 20:32:28 -05:00
Jesse Brault
6b51545114 More progress on getting repl let statements to work. 2026-08-06 15:17:15 -05:00
Jesse Brault
2175d5f20a More mem sketching. 2026-08-06 13:09:16 -05:00
Jesse Brault
4c744bf2d6 Sketching mem. 2026-07-30 21:05:13 -05:00
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