Commit Graph

285 Commits

Author SHA1 Message Date
Jesse Brault
5721bd1e83 WIP variety of name-analysis things. 2025-10-27 19:47:57 -05:00
Jesse Brault
8b374e1066 WIP seemingly endless name analysis refactoring. 2025-10-27 08:48:08 -05:00
Jesse Brault
93c6a71185 WIP never ending name analysis. 2025-10-24 14:33:55 -05:00
Jesse Brault
664aebfd61 WIP more name analysis. 2025-10-21 18:36:03 -05:00
Jesse Brault
bdbc2543b8 WIP name analysis, more symbol types, add symbol tree abstraction. 2025-10-21 12:41:14 -05:00
Jesse Brault
b5c0e44eeb Bunch of work on name analysis. Reintroduce Rc<RefCell<_>> for symbols. 2025-10-20 20:55:29 -05:00
Jesse Brault
273d197841 New phases for name analysis. 2025-10-20 19:20:43 -05:00
Jesse Brault
af8f0b5dac Various new ideas for name analysis. 2025-10-20 18:31:54 -05:00
Jesse Brault
d32580a1d4 Remove scope table usage. 2025-10-20 13:24:37 -05:00
Jesse Brault
65136c3a1c Fix memory bugs. 2025-10-18 22:35:14 -05:00
Jesse Brault
b52df2b452 Rework gc api. 2025-10-17 18:11:02 -05:00
Jesse Brault
434a113d97 Fix check for color of object. 2025-10-14 21:21:26 -05:00
Jesse Brault
d09d945323 Experimenting with garbage collection algorithm. 2025-10-14 21:18:06 -05:00
Jesse Brault
34fae6ccca Resolve local variables. 2025-10-14 11:14:07 -05:00
Jesse Brault
dd249dd5bd Properly using dyn for better dispatch of gather methods. 2025-10-13 11:58:30 -05:00
Jesse Brault
6b206605c1 Various gathering and scope table. 2025-10-13 10:51:22 -05:00
Jesse Brault
b47dea9136 Remove mut on compilation unit params in name analysis. 2025-10-09 17:16:18 -05:00
Jesse Brault
2b5be6ca49 Change scope_ids table to use refs. 2025-10-09 17:14:22 -05:00
Jesse Brault
f0772fbf11 Introduce scope_ids hash table. 2025-10-08 20:20:09 -05:00
Jesse Brault
5d41a22899 WIP name gather, add fields for struct nodes.
# Conflicts:
#	src/name_analysis/gather.rs
2025-10-08 20:01:09 -05:00
Jesse Brault
6d37545b35 Small clean up. 2025-10-08 19:58:20 -05:00
Jesse Brault
3ab59961dd WIP on name-analysis gather, up to statements. 2025-10-06 13:43:38 -05:00
Jesse Brault
d5ac6dfc2d WIP on name-analysis gather. 2025-10-05 12:19:59 -05:00
Jesse Brault
36e28ae4a9 Sketching out IR structs/enums. 2025-10-04 21:32:33 -05:00
Jesse Brault
9731bb38fe Sketching DVM IR. 2025-10-04 09:07:49 -05:00
Jesse Brault
8969186467 Adding more name analysis gather. 2025-10-03 10:43:20 -05:00
Jesse Brault
e879ad2d90 Fix skip rules. 2025-10-03 09:54:21 -05:00
Jesse Brault
54882b187c Refactor name-analysis SymbolTable, etc. 2025-10-03 09:52:04 -05:00
Jesse Brault
1f5d17ef79 Update ast gen yaml to better special child build; fix as_span moving issue. 2025-10-02 10:39:28 -05:00
Jesse Brault
e578250ee6 WIP name analysis. 2025-10-02 10:08:03 -05:00
Jesse Brault
583136711a Add (not working) support for Range and FileId in struct nodes. 2025-10-01 13:45:49 -05:00
Jesse Brault
eaebf8c926 Add derive for leaf enum spec, fix compilation errors. 2025-09-29 12:22:28 -05:00
Jesse Brault
058b33ece5 Fix ast_node gen errors. 2025-09-29 09:49:02 -05:00
Jesse Brault
c32ae72beb WIP redoing name analysis. 2025-09-29 09:39:13 -05:00
Jesse Brault
d6faa37515 Add missing call of f on self. 2025-09-29 09:14:45 -05:00
Jesse Brault
e8a4268949 Fix missing _. 2025-09-29 09:12:28 -05:00
Jesse Brault
5b772443f8 Add walk impl. 2025-09-29 09:10:57 -05:00
Jesse Brault
dd0bee1c91 Finish AstNode impls. 2025-09-29 08:53:19 -05:00
Jesse Brault
df8e2279dc WIP ast node ref enum and AstNode impls. 2025-09-28 15:02:20 -05:00
Jesse Brault
6e37e3a5dd WIP bringing back name analysis. 2025-09-28 12:34:37 -05:00
Jesse Brault
cfe24aa107 More sketching of functor, list, and related. 2025-09-28 12:34:29 -05:00
Jesse Brault
309149c7dd Sketching out hkts and such. 2025-09-26 17:15:50 -05:00
Jesse Brault
5b5386c7e3 Add file_id param/prop and Range props. 2025-09-25 18:43:05 -05:00
Jesse Brault
41673a68f8 Make all tests passing. 2025-09-25 12:16:55 -05:00
Jesse Brault
86331ee9b0 Resolve all compile errors. 2025-09-25 11:57:55 -05:00
Jesse Brault
4eb48cc1a2 Fixing polymorphic enum loop build fn bug. 2025-09-24 20:40:17 -05:00
Jesse Brault
3159f119bc Add pretty print for polymorphic enum loop. 2025-09-24 20:35:19 -05:00
Jesse Brault
5a3403cc28 Add polymorphic enum loop type gen. 2025-09-24 20:29:17 -05:00
Jesse Brault
39e9c2ddd5 Squishing bugs. 2025-09-24 14:23:14 -05:00
Jesse Brault
12c565d0e1 Fix missing box. 2025-09-24 14:18:49 -05:00