Commit Graph

285 Commits

Author SHA1 Message Date
Jesse Brault
e9ccb0a5bd Add default rule match panic branch. 2025-09-14 21:15:48 -05:00
Jesse Brault
799d8762cd Fix no Pair import. 2025-09-14 21:10:55 -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
42cc6720d1 Move around util fn and set up enum build fn mod. 2025-09-14 18:24:56 -05:00
Jesse Brault
0842690e6f More generation of node types. 2025-09-14 16:18:39 -05:00
Jesse Brault
c2c885d85b Get less errors in name_analysis module. 2025-09-14 15:59:18 -05:00
Jesse Brault
300e65a8d3 Add generation for node ast file. 2025-09-14 15:57:06 -05:00
Jesse Brault
b75e51ee41 Fill out build-fn generation for ast nodes. 2025-09-14 15:40:39 -05:00
Jesse Brault
968b950436 Handle deserialization of leaf_enum nodes. 2025-09-14 09:36:38 -05:00
Jesse Brault
0704e7d504 Skeleton code for leaf_enum specs. 2025-09-14 09:12:00 -05:00
Jesse Brault
152f5a6150 Start outputting build.rs file from ast gen. 2025-09-14 08:54:06 -05:00
Jesse Brault
e802fc70d8 Move all parser tests to generated tests. 2025-09-14 08:28:06 -05:00
Jesse Brault
c453557deb Add rerun if changed for tests parser tests directory. 2025-09-14 08:14:49 -05:00
Jesse Brault
9c43e28f32 Finish adding generated parser test generation. 2025-09-14 08:11:33 -05:00
Jesse Brault
024baf2064 Work on auto CST parser tests. 2025-09-13 18:36:18 -05:00
Jesse Brault
cde6d18e5c Add names to ast gen. 2025-09-08 14:18:20 -05:00
Jesse Brault
41693788fc Work on ast.schema and related. 2025-09-08 11:57:20 -05:00
Jesse Brault
29a2d77b6f Fix backtick strings. 2025-09-08 11:06:10 -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
Jesse Brault
17f5d2d62d Add function and class constructs to ast.yaml. 2025-09-07 15:09:00 -05:00
Jesse Brault
59165f6235 Build fn child unwrap; some tests. 2025-09-04 19:27:26 -05:00
Jesse Brault
4d70765d17 Wrap in Boxes. 2025-09-04 11:10:59 -05:00
Jesse Brault
0a97cc01b9 Add return value to build fn. 2025-09-04 11:08:23 -05:00
Jesse Brault
0adb4bbe0e Add or else (default) to yaml spec. 2025-09-04 10:21:30 -05:00
Jesse Brault
9f3f3e0f0d Implement optionality for types. 2025-09-03 17:12:19 -05:00
Jesse Brault
3b07cef209 Basic function types. 2025-09-03 17:05:15 -05:00
Jesse Brault
a53388155a Add optional to ast schema and ast-gen. 2025-09-03 16:45:09 -05:00
Jesse Brault
4dcb5ee783 Pest and ast syntax changes. 2025-09-03 16:39:31 -05:00
Jesse Brault
e79c22db72 Using Boxed children and name fix. 2025-08-31 09:44:17 -05:00
Jesse Brault
3ca488b76d AST gen tweaks. 2025-08-30 09:43:11 -05:00
Jesse Brault
673a008e16 Add schema and function declaration. 2025-08-29 20:24:35 -05:00
Jesse Brault
8b310ad5d4 Refactor ast-generation. 2025-08-29 19:42:23 -05:00
Jesse Brault
fcca1b7aba More work on ast-generation. 2025-08-27 12:35:43 -05:00
Jesse Brault
206948efa1 Experimenting with build.rs, quote, and syn. 2025-08-26 15:39:36 -05:00
Jesse Brault
8c802f2a15 Sketching July 2025. 2025-08-01 07:47:56 -05:00
Jesse Brault
6f727e1cdf Refactor UseStatement to an enum type; remove UseStatementLast. 2025-05-29 21:37:07 -05:00
Jesse Brault
9f5e27b289 Add with-keyword sketching. 2025-05-26 16:24:51 -05:00
Jesse Brault
234f40ec58 Use ast walking to verify that identifiers have saved symbols and linking symbols are resolved. 2025-05-26 16:24:40 -05:00
Jesse Brault
d38b30b755 Add depth-first traversal (walk_depth_first) to walk.rs. 2025-05-26 12:53:07 -05:00
Jesse Brault
22deb90c3e Move ast nodes to new ast/node module. 2025-05-26 08:30:15 -05:00
Jesse Brault
cbf7921c95 Refactor name-analysis module to use new AST api. 2025-05-26 07:48:35 -05:00
Jesse Brault
20dcb4f6ce Major refactoring of AST module: private properties and accessors, building clearer, using Boxes. 2025-05-25 17:27:15 -05:00
Jesse Brault
c8ff1d0fa2 Add todos. 2025-05-22 15:02:29 -05:00
Jesse Brault
f5f247e636 Add class-member symbols to symbol table display. 2025-05-21 22:31:51 -05:00