Commit Graph

39 Commits

Author SHA1 Message Date
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
3a75a0c8e8 Work on new name resolve methods WIP. 2026-04-06 20:43:30 -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
8724c07ae2 Refactor class ast node. 2026-03-18 15:12:51 -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
0e24ce1784 Add fqn_context. 2026-03-13 17:19:25 -05:00
Jesse Brault
5be778ba80 Fix some ir-related things with fields. 2026-03-13 16:20:08 -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
320cdcf805 Compiling fields getters/setters. 2026-03-12 21:52:52 -05:00
Jesse Brault
8082f4c2e6 Add type-checking to classes/fields/constructors. 2026-03-12 15:39:13 -05:00
Jesse Brault
ad821ce6a7 Add ctors, most name-analysis for classes/fields/constructors. 2026-03-12 12:35:36 -05:00
Jesse Brault
75dcca0002 Name analysis for classes and affected things. 2026-03-11 22:15:23 -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
80b6b96aeb Implement lexing and parsing for classes. 2026-03-10 21:20:21 -05:00
Jesse Brault
7de866cf9d Add return-type checking and fix string literal type-info bug. 2026-03-10 12:42:53 -05:00
Jesse Brault
e35bacb583 Bunch of AST refactoring to make api easier. 2026-03-09 16:35:32 -05:00
Jesse Brault
ec7bf650b2 Add return mechanism to dvm code, and related fixes to dmc. 2026-03-08 13:33:06 -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
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
d39e9afee2 More work on calling and returning. 2026-03-04 15:09:05 -06:00
Jesse Brault
e1afb6b43b Much work on adding and calling. 2026-03-03 21:06:12 -06:00
Jesse Brault
81ceeeadb8 Add parameter-list to regular fns. 2026-03-03 12:31:52 -06:00
Jesse Brault
8c1d56dc1a Remove ir structs and fix misc. warnings. 2026-03-02 20:15:36 -06:00
Jesse Brault
ec18b5d5ba Yay! Hello world via platform function is working. 2026-03-02 18:22:24 -06:00
Jesse Brault
b7b495178b Add extern_function AST node. 2026-03-02 12:41:11 -06:00
Jesse Brault
6593a1cfd1 Assembling directly from AST. 2026-02-28 08:22:57 -06:00
Jesse Brault
6b855b8ebb Work on asm. 2026-02-27 21:33:28 -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