Commit Graph

243 Commits

Author SHA1 Message Date
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
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
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
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
Matthias Raba
6547ad04f5 Merge branch 'typedAST' of https://gitea.hb.dhbw-stuttgart.de/MisterChaos69/MiniJavaCompiler into bytecode 2024-06-20 08:40:38 +02:00
8a6dca4e36 fix null not accepted for object method parameter 2024-06-20 08:38:56 +02:00
Matthias Raba
ee302bb245 maxLocals calculation 2024-06-18 07:37:01 +02:00
361643a85a Merge pull request 'bytecode' (#5) from bytecode into master
Reviewed-on: #5
2024-06-17 17:29:59 +00:00
mrab
d2554c9b22 updated recursive test using this. syntax 2024-06-17 19:25:24 +02:00
mrab
5269971334 Merge branch 'create-parser' of ssh://gitea.hb.dhbw-stuttgart.de:2222/MisterChaos69/MiniJavaCompiler into bytecode 2024-06-14 16:05:46 +02:00
e4693729dc fix assignment with this 2024-06-14 15:12:59 +02:00
Matthias Raba
d1bef2193e adjusted usage example in README 2024-06-14 10:00:47 +02:00
561a0b37d8 Merge pull request 'documentation' (#4) from documentation into master
Reviewed-on: #4
2024-06-14 07:59:04 +00:00
Matthias Raba
6e400ebb9d Merge branch 'master' of https://gitea.hb.dhbw-stuttgart.de/MisterChaos69/MiniJavaCompiler into documentation 2024-06-14 09:57:48 +02:00
dc2f845049 Merge pull request 'bytecode' (#3) from bytecode into master
Reviewed-on: #3
2024-06-14 07:56:36 +00:00
36c48d013a add typecheck documentation 2024-06-14 09:56:33 +02:00
Matthias Raba
07fcda5827 Merge branch 'master' of https://gitea.hb.dhbw-stuttgart.de/MisterChaos69/MiniJavaCompiler into bytecode 2024-06-14 09:54:47 +02:00
b1735c6300 Merge pull request 'Add initial typechecker for AST' (#2) from typedAST into master
Reviewed-on: #2
2024-06-14 07:53:29 +00:00
Matthias Raba
fa9f8c3425 added Bytecode documentation 2024-06-14 09:49:27 +02:00
Matthias Raba
2c928ad69b renamed Generator -> Builder 2024-06-14 08:54:12 +02:00