Commit Graph

71 Commits

Author SHA1 Message Date
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
fe2fff5882 Update grammar to reflect correct operator precedence. 2025-09-19 21:30:43 -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
4c2ee8f929 WIP on ast gen schema. 2025-09-14 21:19:33 -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
e802fc70d8 Move all parser tests to generated tests. 2025-09-14 08:28:06 -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
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
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
3b07cef209 Basic function types. 2025-09-03 17:05:15 -05:00
Jesse Brault
4dcb5ee783 Pest and ast syntax changes. 2025-09-03 16:39:31 -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
fcca1b7aba More work on ast-generation. 2025-08-27 12:35:43 -05:00
Jesse Brault
6f727e1cdf Refactor UseStatement to an enum type; remove UseStatementLast. 2025-05-29 21:37:07 -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
0c2d9f8b2f Add primitive type uses and related. 2025-05-19 13:52:42 -05:00
Jesse Brault
c54e005b62 Add build for platform function. 2025-05-18 09:02:35 -05:00
Jesse Brault
938391ae09 Add use statements. 2025-05-18 08:32:16 -05:00
Jesse Brault
692411e232 Change grammar to properly allow if, while, and for loops (without confusing it with closures). 2025-05-17 17:30:55 -05:00
Jesse Brault
bf06407d16 Implement if/if-else statements in grammar, build, unparse, and pretty-print. 2025-05-17 12:36:29 -05:00
Jesse Brault
35d616a538 Implement closure in ast building, unparsing, and pretty printing. 2025-05-17 10:32:14 -05:00
Jesse Brault
78e7271950 Add DString building. 2025-05-17 08:36:55 -05:00
Jesse Brault
15abcc92d3 Add indoc and indexing to grammar. 2025-05-16 19:08:18 -05:00
Jesse Brault
a9457c1ab9 Successful work to compile, parse, and unparse basic Deimos. 2025-05-15 09:40:39 -05:00
Jesse Brault
e3dc46e023 Enough work to hopefully make hello world parse and build AST. 2025-05-15 08:13:34 -05:00