Commit Graph

58 Commits

Author SHA1 Message Date
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
70aea0ba6f Rewrite pretty_print as Display impl; tweaking ir. 2025-11-22 16:31:08 -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
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
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
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
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
b5c0e44eeb Bunch of work on name analysis. Reintroduce Rc<RefCell<_>> for symbols. 2025-10-20 20:55:29 -05:00
Jesse Brault
6b206605c1 Various gathering and scope table. 2025-10-13 10:51: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
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
8969186467 Adding more name analysis gather. 2025-10-03 10:43:20 -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
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
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
39e9c2ddd5 Squishing bugs. 2025-09-24 14:23:14 -05:00
Jesse Brault
4b59abc989 Update schema for ast gen. 2025-09-23 14:14:42 -05:00
Jesse Brault
63643d86ba New deserialization code. 2025-09-22 20:19:30 -05:00
Jesse Brault
dad25dcbf2 Updates to ast and schema. 2025-09-20 17:50:51 -05:00
Jesse Brault
e795664a09 Add list expressions to grammar/ast. 2025-09-19 12:57:53 -05:00
Jesse Brault
522869371e Or else default generics. 2025-09-18 17:00:12 -05:00
Jesse Brault
7399a8748c Add polymorphic build types gen. 2025-09-17 17:21:37 -05:00
Jesse Brault
a7eabae3e3 WIP polymorphic building. 2025-09-16 10:59:38 -05:00
Jesse Brault
fc2912edd2 Start adding ast build tests. 2025-09-16 00:00:26 -05:00
Jesse Brault
de8e2ba397 Small bugs. 2025-09-15 21:47:10 -05:00
Jesse Brault
b5cdb8dd29 WIP refactor of deserialization and ast code generation. 2025-09-15 18:20:09 -05:00
Jesse Brault
2aee2cdd4e Refactor of ast yaml and schema. 2025-09-15 11:48:30 -05:00
Jesse Brault
44f6ab10af WIP on enum generation and solving generated errors. 2025-09-14 21:06:58 -05:00
Jesse Brault
434df5642a Much work on ast gen, leaf enums and leaf structs. 2025-09-14 19:34:38 -05:00
Jesse Brault
0842690e6f More generation of node types. 2025-09-14 16:18:39 -05:00
Jesse Brault
b75e51ee41 Fill out build-fn generation for ast nodes. 2025-09-14 15:40:39 -05:00
Jesse Brault
41693788fc Work on ast.schema and related. 2025-09-08 11:57:20 -05:00
Jesse Brault
5c01589ca3 Work on literals and numbers. 2025-09-07 19:06:13 -05:00
Jesse Brault
6652b9fc63 Work on closures. 2025-09-07 18:42:25 -05:00
Jesse Brault
bae90b8b80 Fix calls. 2025-09-07 18:37:49 -05:00
Jesse Brault
4bc89d5ca3 Fix if statements. 2025-09-07 18:25:30 -05:00
Jesse Brault
3f3df59761 Work on expressions. 2025-09-07 16:37:52 -05:00
Jesse Brault
3f534bf7fd Refine and add statements. 2025-09-07 15:56:34 -05:00