Commit Graph

25 Commits

Author SHA1 Message Date
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
Jesse Brault
63dec99cb5 Add expression rules and basic left-recursive AST-expression building. 2025-05-14 20:07:44 -05:00
Jesse Brault
487d0383c5 Add many rules to build.rs. 2025-05-14 19:24:59 -05:00
Jesse Brault
9df681e07c Refactoring grammar to be easier to work with. 2025-05-14 17:24:57 -05:00
Jesse Brault
373120d34e Add class-level declarations and components. 2025-05-14 12:04:07 -05:00
Jesse Brault
9d843097bc Much work on build.rs and related. 2025-05-14 10:04:31 -05:00
Jesse Brault
16e180180b Work on grammar and reorganize src/ast/mod.rs. 2025-05-13 19:00:14 -05:00
Jesse Brault
82af6b4dfb Much work on grammar, AST building and unparsing. 2025-05-13 09:46:24 -05:00
Jesse Brault
e8aff842ed Create and implement AST structs/enums and Unparse traits. 2025-05-11 09:28:42 -05:00
Jesse Brault
1a365481ab Add smoke screen tests for parser; add some function grammar rules. 2025-05-07 15:05:39 -05:00
Jesse Brault
084ed4a00b Write expressions grammar, basic testing. 2025-04-21 09:11:02 -05:00
Jesse Brault
90a3c40ac3 Work on object access and number literal grammar; basic parser testing. 2025-04-20 14:11:03 -05:00
Jesse Brault
815168603c Update grammar. 2025-04-16 09:12:48 -05:00
Jesse Brault
1263d84802 Work on grammar and AST building. 2025-04-14 08:00:05 -05:00
Jesse Brault
36955295bc Add enough to AST building to parse current std lib. 2025-02-03 10:30:56 -06:00
Jesse Brault
18551af61a More work upon AST building. 2025-01-31 14:40:46 -06:00
Jesse Brault
040961ed67 Finally building an AST with Pest. 2025-01-30 18:36:35 -06:00
Jesse Brault
d4fb4680a5 Update to Pest grammar for hello world. 2024-12-31 17:23:36 -06:00
Jesse Brault
cccbc6d819 Work on vm and DvmValues and DmTypes. Added pest to get parser off the ground. 2024-12-06 10:58:19 -06:00