Commit Graph

82 Commits

Author SHA1 Message Date
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
f988c80b83 Merge branch 'typedAST' of ssh://gitea.hb.dhbw-stuttgart.de:2222/MisterChaos69/MiniJavaCompiler into bytecode 2024-05-07 09:59:01 +02:00
mrab
ff03be2671 moved type check to its own file 2024-05-07 09:53:16 +02:00
mrab
c248dc3676 Merge branch 'typedAST' of ssh://gitea.hb.dhbw-stuttgart.de:2222/MisterChaos69/MiniJavaCompiler into bytecode 2024-05-07 09:49:32 +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
af7162ea54 parser implement fields 2024-05-06 09:53:14 +02:00
dbdd2f85bd inital commit with first version 2024-05-05 10:00:11 +02:00
mrab
f93a1ba58c working export of binary class files 2024-05-04 19:08:41 +02:00
mrab
967c3a4b41 Moved bytecode stuff into separate folder 2024-05-04 16:28:42 +02:00
mrab
e2f978ca93 serialization of class files 2024-05-04 15:41:05 +02:00
f4c70d4d30 add:Serialization Framework 2024-05-04 13:02:35 +02:00
mrab
580e56ebbb Class file data structure 2024-05-04 11:39:44 +02:00
fa9cb761d5 parser implement class 2024-05-03 15:58:21 +02:00
fa2dc24aa0 indent with spaces 2024-05-02 22:38:58 +02:00
db2b4a142c lexer adjustments 2024-05-02 22:21:53 +02:00
95063ac64f lexer implement operators 2024-05-02 21:15:59 +02:00
4108eb58c1 lexer implement separators and fix literals 2024-05-02 21:15:59 +02:00
ecd778cc70 lexer implement literals 2024-05-02 21:15:59 +02:00
e5baa701b2 rename Token Identifier to IDENTIFIER 2024-05-02 21:15:59 +02:00
5d49da69a6 lexer implement keywords 2024-05-02 21:15:59 +02:00
b8e566a2a0 lexer implement identifiers 2024-05-02 21:15:59 +02:00
6d39110794 lexer implement comments 2024-05-02 21:15:59 +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
d59594ab74 create cabal project structure 2024-05-01 21:20:38 +02:00