Commit Graph

26 Commits

Author SHA1 Message Date
e350c23db1 fix spelling error 2024-05-14 09:36:18 +02:00
20184c5e26 add modulus to AST and Typecheck 2024-05-13 13:13:24 +02:00
1d5463582f add differentiation between local and field variable 2024-05-08 17:39:43 +02:00
7bfdeed620 add local and field var 2024-05-08 10:26:19 +02:00
ced5d1df9c add program tests 2024-05-07 20:10:39 +02:00
acab0add95 added methodcall and assigment test 2024-05-07 16:42:01 +02:00
b040130569 removed unneccesary comments 2024-05-07 16:36:42 +02:00
d47c7f5a45 added tests 2024-05-07 16:34:43 +02:00
8c3c3625b9 fixed method and name resolution typecheck 2024-05-07 16:34:34 +02:00
358293d4d4 add typecheck method and constructor call 2024-05-07 11:28:35 +02:00
7422510267 add expression to methodcall 2024-05-07 11:09:10 +02:00
40c7cab0e3 apply pull and add tests 2024-05-07 11:04:40 +02:00
mrab
ff03be2671 moved type check to its own file 2024-05-07 09:53:16 +02:00
75272498c4 fixed typechecker trying to find a field of a class in the symboltable 2024-05-07 08:20:10 +02:00
8d9d28cb1f added means of testing 2024-05-06 23:15:22 +02:00
f14470d8cc add name resolution, fix symbol table key, value switchup 2024-05-06 23:15:10 +02:00
ae6232380e Fix type mismatch and redefinition issues in typeCheckStatement function 2024-05-06 19:52:06 +02:00
0debfe995d add full block type checking 2024-05-06 19:13:46 +02:00
62bd191314 update block and local variable typecheck 2024-05-06 10:49:33 +02:00
dbdd2f85bd inital commit with first version 2024-05-05 10:00:11 +02:00
mrab
88604bf544 Typed AST elements 2024-05-02 13:56:40 +02:00
mrab
8d8bc06034 AST 2024-05-02 13:44:02 +02:00
53b123b997 Merge pull request 'project-structure' (#1) from project-structure into master
Reviewed-on: #1
2024-05-02 08:28:04 +00:00
d59594ab74 create cabal project structure 2024-05-01 21:20:38 +02:00
76be568b57 add happy file 2024-04-24 17:26:56 +02:00
mrab
4ea7076d55 Initial Commit 2024-04-24 13:58:26 +02:00