226 Commits

Author SHA1 Message Date
302fecc91b
refactor: remove boilerplate parser 2025-02-01 03:42:02 +00:00
4f02d7f2b0
fix: disallow exponents, export identifier from lexer 2025-02-01 02:21:45 +00:00
Jonny
bf163e52fe feat: initial lexer implementation 2025-02-01 02:21:39 +00:00
bf310b633a
refactor: allow binPack Strings 2025-02-01 02:21:31 +00:00
24b83c8448
refactor: remove boilerplate parser 2025-02-01 00:58:29 +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
78ef878fb2
ci: use coursier cache, do not use bloop 2025-01-31 17:42:25 +00:00
ef00cf1093 feat: setup cli parsing library, return exit code
Merge request lab2425_spring/WACC_37!3
2025-01-31 16:39:07 +00:00
1a7aebb5cf
feat: use cli parsing library and return randomly 0, 100 or 200 2025-01-31 16:32:17 +00:00
160e8bcc1a
refactor: simplify expectedResult type in tests 2025-01-31 15:53:12 +00:00
ef43e73cf6
refactor: use more generally-accepted scala3 format 2025-01-31 15:14:46 +00:00
c1fc1c2fc3 ci: check format, commits, compilation and tests
Merge request lab2425_spring/WACC_37!1
2025-01-27 21:30:36 +00:00
cb89bb54b6
test: test against wacc-examples repo 2025-01-27 21:21:03 +00:00
56aa2210d8
docs: add contributing section to README 2025-01-27 16:06:26 +00:00
6c166e4f76
ci: runner compile immediately 2025-01-27 15:57:35 +00:00
a52b384782
ci: check_format, check_commits, compile_jvm and test_jvm steps 2025-01-27 15:28:46 +00:00
252ed1c925
refactor: use scalafmt to format code 2025-01-27 14:47:57 +00:00
LabTS
2b50e3e1f6 provided code 2025-01-19 23:10:54 +00:00