Commit Graph

308 Commits

Author SHA1 Message Date
Jesse Brault
8ba79be920 Add cst command. 2025-12-03 10:38:22 -06:00
Jesse Brault
8eb13791ee Update pest. 2025-11-23 20:15:28 -06:00
Jesse Brault
7ffa516c03 Add fields and special children for Polymorphic enum loop specs. 2025-11-23 14:22:33 -06:00
Jesse Brault
734a00ea92 Beginnings of type analysis. 2025-11-22 17:59:08 -06:00
Jesse Brault
8d73a8ea73 Update ast schema. 2025-11-22 16:50:32 -06:00
Jesse Brault
70aea0ba6f Rewrite pretty_print as Display impl; tweaking ir. 2025-11-22 16:31:08 -06:00
Jesse Brault
f656d0d4d4 Merge remote-tracking branch 'origin/grammar-overhaul' into grammar-overhaul 2025-11-21 21:38:35 -06:00
Jesse Brault
026bc68fa7 Introduce asm representation (between ir and vm instructions). 2025-11-21 21:38:12 -06:00
Jesse Brault
9dfdcd716b Modest implementation of lowering to IR and Instruction code. 2025-11-19 23:23:43 -06:00
Jesse Brault
f21128fd68 Add support for polymorphic enum builds (used for suffix operators). 2025-11-15 18:13:25 -06:00
Jesse Brault
803b95c5dc More json sketching. 2025-11-10 22:08:09 -06:00
Jesse Brault
053d08849e Sketching out rail and json. 2025-11-10 16:32:19 -06:00
Jesse Brault
7439ca554c Fixed spacing for suffix operators. Now calls require at least one of parentheses and/or closure. 2025-11-03 14:42:41 -06:00
Jesse Brault
51c39f5f34 WIP fixing newlines/call grammar. 2025-11-03 13:41:05 -06:00
Jesse Brault
1d11a45c68 Seem to have fixed newlines and no-parentheses calls. 2025-11-03 12:16:28 -06:00
Jesse Brault
da05bb101b Better handling of global imports. 2025-11-02 13:41:00 -06:00
Jesse Brault
6bcef184eb Successfully fixed implicit global println test. 2025-11-01 21:38:52 -05:00
Jesse Brault
0550df534e Move parameter gathering to second pass in order to match analysis of all locals there. 2025-11-01 12:23:41 -05:00
Jesse Brault
13330300c1 WIP fleshing out of block and expression name analysis. 2025-10-31 13:04:22 -05:00
Jesse Brault
12a3a61156 Work on functions and parameter name resolution. 2025-10-31 12:14:33 -05:00
Jesse Brault
9b83a531ca Remove un-needed test. 2025-10-29 12:14:52 -05:00
Jesse Brault
e5c5be6d95 Re-enable tests for name analysis. Currently failing. 2025-10-29 12:13:39 -05:00
Jesse Brault
d653d26e14 Work on star-use symbols. 2025-10-28 10:43:42 -05:00
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