Commit Graph

259 Commits

Author SHA1 Message Date
Matthias Raba
0445e2d488 Merge branch 'create-parser' of https://gitea.hb.dhbw-stuttgart.de/MisterChaos69/MiniJavaCompiler into bytecode 2024-07-05 09:42:33 +02:00
Matthias Raba
2d1309a5fe Fixed superfluous Oppop for void ExpressionStatements 2024-07-05 09:42:00 +02:00
574628d3f7 parser add optional parameters 2024-07-04 14:21:37 +02:00
30288731d3 mmooore Tests 2024-07-03 16:32:54 +02:00
f7d135cdd6 update pdf 2024-07-01 17:43:21 +02:00
c05aa302a4 extend parser doc 2024-07-01 17:41:47 +02:00
36d9b74df4 Merge remote-tracking branch 'origin/master' into create-parser 2024-07-01 17:41:27 +02:00
1348cea93f Merge pull request 'bytecode' (#9) from bytecode into master
Reviewed-on: #9
2024-07-01 15:05:30 +00:00
mrab
d648e5dd05 Merge branch 'master' of ssh://gitea.hb.dhbw-stuttgart.de:2222/MisterChaos69/MiniJavaCompiler into bytecode 2024-07-01 17:05:07 +02:00
2b45d66ac1 extend doku 2024-07-01 17:00:37 +02:00
Matthias Raba
fa285a4af2 documentation goes LaTex 2024-06-28 11:01:17 +02:00
Matthias Raba
0e1f31080e fixed method/constructor overloading in bytecode generator 2024-06-28 09:20:03 +02:00
Matthias Raba
dee1fcb2df Merge branch 'typedAST' of https://gitea.hb.dhbw-stuttgart.de/MisterChaos69/MiniJavaCompiler into bytecode 2024-06-28 08:51:19 +02:00
c7e72dbde3 move defaultconstructor injection to the beginning befor typechecking the classes 2024-06-28 08:51:35 +02:00
9657731a93 remove example.hs because its deprecated 2024-06-28 08:44:22 +02:00
b5efc76c17 add default constructor if none are present 2024-06-28 08:44:04 +02:00
Matthias Raba
25dd0802ad Merge branch 'typedAST' of https://gitea.hb.dhbw-stuttgart.de/MisterChaos69/MiniJavaCompiler into bytecode 2024-06-28 08:44:03 +02:00
Matthias Raba
0a53ea14cf Merge branch 'typedAST' of https://gitea.hb.dhbw-stuttgart.de/MisterChaos69/MiniJavaCompiler into bytecode 2024-06-28 07:37:02 +02:00
Matthias Raba
4c5dbd16f9 Merge branch 'create-parser' of https://gitea.hb.dhbw-stuttgart.de/MisterChaos69/MiniJavaCompiler into bytecode 2024-06-28 07:36:52 +02:00
d0bf34d331 update documentation 2024-06-27 19:02:19 +02:00
fe4ef2614f add new constructortypecheck with overloading 2024-06-27 18:53:01 +02:00
2154f8fd62 add method overloading 2024-06-27 18:52:18 +02:00
504e26dcdd fix objects not comparable to null 2024-06-27 18:08:36 +02:00
f09e6ad09e adjust parser for constructordeclaration 2024-06-27 08:33:41 +02:00
3e18efc097 add constructodeclarations to class in AST 2024-06-26 18:09:00 +02:00
mrab
cb462b5e75 added constructordeclaration 2024-06-26 17:58:52 +02:00
mrab
3275b045cb added list of language features 2024-06-26 17:53:37 +02:00
ae45251189 Merge pull request 'create-parser' (#8) from create-parser into master
Reviewed-on: #8
2024-06-26 15:13:42 +00:00
94ed7b5056 Merge pull request 'bytecode' (#7) from bytecode into master
Reviewed-on: #7
2024-06-26 15:13:23 +00:00
3d352035ee doku 2024-06-26 17:10:38 +02:00
mrab
6b4b9b496d fixed local variable declaration being ignore inside for loop 2024-06-26 09:42:07 +02:00
mrab
c8b3caa2af Merge branch 'create-parser' of ssh://gitea.hb.dhbw-stuttgart.de:2222/MisterChaos69/MiniJavaCompiler into bytecode 2024-06-26 09:22:49 +02:00
05a6de4a0d Merge remote-tracking branch 'origin/master' into create-parser 2024-06-26 09:18:11 +02:00
1eaeffb9a4 parser add for statements 2024-06-26 09:17:21 +02:00
Matthias Raba
87f629282f fixed order of compound AST types 2024-06-24 11:30:29 +02:00
Matthias Raba
6346cb237b removed redundant definitions for opcodeEncodingLength 2024-06-24 11:20:24 +02:00
Matthias Raba
74f52c3c35 fixed small typo in documentation 2024-06-24 07:47:43 +02:00
Matthias Raba
711620bdd9 Merge branch 'bytecode' of https://gitea.hb.dhbw-stuttgart.de/MisterChaos69/MiniJavaCompiler into bytecode 2024-06-24 07:44:42 +02:00
Matthias Raba
946a1f374c fixed stack op depth for getfield 2024-06-24 07:44:04 +02:00
9ecadc8946 updated docs again 2024-06-23 17:39:40 +02:00
09dd11bb34 updated docs 2024-06-23 17:38:52 +02:00
86aa87515b Merge pull request 'bytecode' (#6) from bytecode into master
Reviewed-on: #6
2024-06-21 07:06:07 +00:00
Matthias Raba
98735fd6ba updated bytecode.md 2024-06-21 09:03:47 +02:00
Matthias Raba
8eb9c16c7a typos, formatting, comments 2024-06-21 08:49:55 +02:00
Matthias Raba
4435f7aac8 Changed internal type of boolean, because it's obviously Z not B haha 2024-06-21 08:07:20 +02:00
Matthias Raba
79ddafbf9a Fixed class offset in constant pool when newly inserted 2024-06-21 07:37:25 +02:00
Matthias Raba
29faab5112 maxStack calculation 2024-06-20 15:07:02 +02:00
Matthias Raba
8c508e6d32 Merge branch 'typedAST' of https://gitea.hb.dhbw-stuttgart.de/MisterChaos69/MiniJavaCompiler into bytecode 2024-06-20 12:35:34 +02:00
faf3d1674e fix constructor not handling nullliterals correctly 2024-06-20 11:52:35 +02:00
bcbec9209a fix nullliterals having the type null instead of their corresponding object types 2024-06-20 11:26:38 +02:00