Commit Graph

41 Commits

Author SHA1 Message Date
Jesse Brault
347a9ec9c9 Add Path parsing, AST node, sketching semantic analysis logic. WIP. 2026-08-22 17:41:25 -05:00
Jesse Brault
2dfd8e8a29 Finish parser refactor, simplifying code and diagnostics handling. 2026-08-21 16:38:30 -05:00
Jesse Brault
4e3f1677be Fixed some lexer/parser bugs related to lexer errors. 2026-08-21 13:50:44 -05:00
Jesse Brault
6ac075ffd0 Parser refactoring to use new (Maybe)ParseResult types, WIP. 2026-08-21 13:18:20 -05:00
Jesse Brault
05a1f5d091 Parser refactoring for Option<Expression>. 2026-08-20 20:01:47 -05:00
Jesse Brault
a4b9b958e9 Parser refactoring WIP. 2026-08-20 10:19:05 -05:00
Jesse Brault
e7145de68e Clean out old original implementations of ast passes. 2026-08-13 17:46:13 -05:00
Jesse Brault
c1447444cc Repl clean up. 2026-08-08 13:40:28 -05:00
Jesse Brault
737d7b4232 Much work from semantic analysis to lowering to ir/register alloc to assembly. WIP. 2026-06-19 17:07:11 -05:00
Jesse Brault
d50cc24d0a Work on constructor with new lowering api. WIP. 2026-05-04 14:02:34 -05:00
Jesse Brault
1bd1e5c23a Work on classes and lowering to IR. WIP. 2026-05-01 14:53:01 -05:00
Jesse Brault
4ae4f7e9e6 Work on new compile pipeline and semantic analysis flow WIP. 2026-04-12 17:24:37 -05:00
Jesse Brault
3a75a0c8e8 Work on new name resolve methods WIP. 2026-04-06 20:43:30 -05:00
Jesse Brault
fe8ab3601c Add FileId to CompilationUnit. 2026-03-31 12:16:09 -05:00
Jesse Brault
64526a0b1c Small parser changes. 2026-03-30 14:04:29 -05:00
Jesse Brault
f95d504f88 Another big parser refactor, collecting diagnostics better. 2026-03-28 20:51:29 -05:00
Jesse Brault
c5781114a5 Repl with let statements mostly working. 2026-03-25 10:12:05 -05:00
Jesse Brault
655a0288d3 Some parser refactoring. 2026-03-23 15:47:37 -05:00
Jesse Brault
86fcbb494b Semantic analysis of generic args and params. 2026-03-16 12:37:10 -05:00
Jesse Brault
3466908a80 Lexing/parsing generic args. 2026-03-16 10:28:53 -05:00
Jesse Brault
b4094bf570 Sketching array-related things. 2026-03-15 19:18:27 -05:00
Jesse Brault
b0660c9e5a Parsing and lexing bitwise operators. 2026-03-15 15:05:00 -05:00
Jesse Brault
f0c84fe0c8 Parsing and lexing multiply, divide, modulo, shift operators. 2026-03-15 13:41:07 -05:00
Jesse Brault
863c3fef5d Refactor to use BinaryExpression. 2026-03-15 12:18:38 -05:00
Jesse Brault
7e613b1b90 Parsing/analyzing assign statements. 2026-03-14 10:36:53 -05:00
Jesse Brault
ad821ce6a7 Add ctors, most name-analysis for classes/fields/constructors. 2026-03-12 12:35:36 -05:00
Jesse Brault
9790ec6ca6 Remove module_level_declaration ast node. 2026-03-11 12:14:50 -05:00
Jesse Brault
80b6b96aeb Implement lexing and parsing for classes. 2026-03-10 21:20:21 -05:00
Jesse Brault
9df9edc508 Add doubles. 2026-03-10 17:32:16 -05:00
Jesse Brault
e35bacb583 Bunch of AST refactoring to make api easier. 2026-03-09 16:35:32 -05:00
Jesse Brault
9d09f7481b Add unary minus and subtraction to lexer/parser/ast node kinds. 2026-03-09 12:33:14 -05:00
Jesse Brault
d8bd826cb0 Fix parse mistake. 2026-03-07 17:54:18 -06:00
Jesse Brault
e1afb6b43b Much work on adding and calling. 2026-03-03 21:06:12 -06:00
Jesse Brault
81ceeeadb8 Add parameter-list to regular fns. 2026-03-03 12:31:52 -06:00
Jesse Brault
0a0065a2c1 Add rudimentary type-use parsing and type-checking parameters. 2026-03-02 20:00:16 -06:00
Jesse Brault
ec18b5d5ba Yay! Hello world via platform function is working. 2026-03-02 18:22:24 -06:00
Jesse Brault
7c041e40ad Add sort-of-working error recovery to parser. 2026-03-02 14:06:14 -06:00
Jesse Brault
b7b495178b Add extern_function AST node. 2026-03-02 12:41:11 -06:00
Jesse Brault
0960516c4a Very minimal, but e2e hello world sort of working. 2026-03-01 16:11:57 -06:00
Jesse Brault
aefac57b9d Starting work on IR. 2026-02-27 16:26:56 -06:00
Jesse Brault
8df46eec8d Moving to dmc-lib, keeping it smaller! 2026-02-27 12:14:42 -06:00