Commit Graph

26 Commits

Author SHA1 Message Date
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