19 Commits

Author SHA1 Message Date
1f2adf4b82
refactor: remove offset property from position 2025-02-07 14:51:05 +00:00
6548d895d5
feat: type checker without satisfies implemented
Co-Authored-By: jt2622
2025-02-06 20:26:15 +00:00
0f18bca7fd
fix: fix merge breaks, add function names to scope before renaming bodies 2025-02-05 20:41:49 +00:00
06c8a069fb
feat: renamer maybe maybe maybe maybe 2025-02-05 18:12:25 +00:00
539403fd36
fix: remove unused applyCon from AST 2025-02-05 04:49:05 +00:00
5fffd01a6f
fix: make parser use only parsley parser bridge apply 2025-02-05 04:47:43 +00:00
f3a59460ef
refactor: add position tracking to AST, UnaryOp, BinaryOp 2025-02-05 02:12:16 +00:00
1d78072c22
feat: use NoneEmptyList from cats to enfroce non-empty statements 2025-02-01 20:39:56 +00:00
1643628c60
Merge branch 'master' into ast 2025-02-01 20:37:29 +00:00
5361373c01
refactor: non-recursive statements and array types 2025-02-01 18:10:25 +00:00
cc97118e76
fix: add explicit Block statement (required for scoping) 2025-01-31 22:03:54 +00:00
af919742a0
fix: fully fix binary operators associativity 2025-01-31 20:39:45 +00:00
292551aca0
refactor: format AST to follow BNF order 2025-01-31 20:01:44 +00:00
1c0907f610
fix: add BaseType and correct PairElemType nodes 2025-01-31 19:52:45 +00:00
373683b592
fix: correct usage of RValue (add to Expr, VarDecl, Assign, PairElem) 2025-01-31 19:52:45 +00:00
f4d0ef8e70
fix: replace String with Ident where applicable 2025-01-31 19:52:45 +00:00
50a07cf5d4
feat: add Parens AST node 2025-01-31 19:52:45 +00:00
c0cf3692fd
fix: unary and binary operators AST - consistent style, precedence and associativity 2025-01-31 19:52:40 +00:00
Jonny
49ebf2f7d0 feat: initial ast implementation 2025-01-31 18:20:27 +00:00