Commit Graph

289 Commits

Author SHA1 Message Date
Jochen Seyfried
127726d342 Merge remote-tracking branch 'origin/master' 2024-06-28 19:36:24 +02:00
Krauß, Josefine
4bc38c0ff9 missing thisClass 2024-06-28 19:32:44 +02:00
Jochen Seyfried
34f4f307f3 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/main/java/abstractSyntaxTree/Program.java
2024-06-28 18:44:47 +02:00
Jochen Seyfried
c30dcdb773 Updated switch statements in case of char 2024-06-28 18:44:03 +02:00
Krauß, Josefine
f6bb836ee0 Merge remote-tracking branch 'origin/master' 2024-06-28 18:33:34 +02:00
Krauß, Josefine
7498ca6e4d constructor return type 2024-06-28 18:33:21 +02:00
Jochen Seyfried
66c7722728 After the realization that there was a mixup with the produced .class files we once again fix the codeGen
In this commit the standard constructors, mainMethod and standard variable declations were fixed and validated
2024-06-28 18:23:19 +02:00
4b7cb0b150 bugfix mainmethod ast 2024-06-28 15:32:08 +02:00
Krauß, Josefine
1358e3372f Merge remote-tracking branch 'origin/master' 2024-06-28 11:29:22 +02:00
Krauß, Josefine
5c81b88ca5 fixed code bloc without return 2024-06-28 11:28:58 +02:00
KingJulian
a3000d0ba1 Test update 2024-06-28 11:13:22 +02:00
Krauß, Josefine
d4f98693d6 Merge remote-tracking branch 'origin/master' 2024-06-27 09:30:43 +02:00
Krauß, Josefine
6365e994d2 fixed another localvaridentifier that just isnt local actually 2024-06-27 09:30:31 +02:00
Jochen Seyfried
377e9b3193 Implemented the new codeGen for MethodCallStatementExpression 2024-06-27 09:27:08 +02:00
Jochen Seyfried
eac4eb1db8 Merge remote-tracking branch 'origin/master' 2024-06-27 08:47:54 +02:00
Jochen Seyfried
d8602ddd18 Added MethodContext to MethodCallStatementExpression 2024-06-27 08:31:50 +02:00
b84ad2ef6b Merge remote-tracking branch 'origin/master' 2024-06-27 08:11:17 +02:00
60958538d8 change UnaryExpression 2024-06-27 08:11:04 +02:00
Krauß, Josefine
ed2f64eff9 bugfix nullpointer if no receiver 2024-06-26 16:12:21 +02:00
Krauß, Josefine
77a6dae94f added check if there is a main method 2024-06-26 15:55:34 +02:00
Krauß, Josefine
30334dc393 Merge remote-tracking branch 'origin/master' 2024-06-26 15:38:59 +02:00
Krauß, Josefine
2a2e14ae21 methodcall 2024-06-26 15:38:46 +02:00
9cf2ff6f37 Merge remote-tracking branch 'origin/master' 2024-06-25 17:09:26 +02:00
b402857713 fix methodCall 2024-06-25 17:09:16 +02:00
Krauß, Josefine
8182e1ee7a added thisClass to some other classes 2024-06-25 17:01:00 +02:00
Krauß, Josefine
ae260f6feb boolean instead of bool 2024-06-25 15:06:20 +02:00
Krauß, Josefine
7daece9b8f Merge remote-tracking branch 'origin/master' 2024-06-25 08:16:47 +02:00
Krauß, Josefine
b95bc75a1e made upperbound method static 2024-06-25 08:16:29 +02:00
Jochen Seyfried
1dac9245f2 Added other implementation for methodCallStatement 2024-06-23 16:42:27 +02:00
Jochen Seyfried
90936affb9 Changed "bool" to "boolean" 2024-06-22 16:39:29 +02:00
Jochen Seyfried
9ff069827a Fixed Bugs in bytecode generation 2024-06-22 16:33:53 +02:00
Jochen Seyfried
87e863e773 Implemented CodeGen for Constants and fixed an issue regarding the placements of local variables on the JVM stack.
( index JVM = index localVars + 1)
2024-06-22 12:30:06 +02:00
Krauß, Josefine
c764b710ea calling newstatementexpression from localvar 2024-06-20 13:59:44 +02:00
Julian Murek
e7d4a83a1d Merge branch 'master' of https://gitea.hb.dhbw-stuttgart.de/i22022/NichtHaskell 2024-06-20 13:28:31 +02:00
Julian Murek
dcb564bd0d Test update 2024-06-20 13:28:16 +02:00
c8c12e4d9a add expression to LocalVarDecl in ast 2024-06-20 13:17:53 +02:00
Krauß, Josefine
e23d84cd09 Merge remote-tracking branch 'origin/master' 2024-06-20 12:47:25 +02:00
Krauß, Josefine
8a26f700b5 methodcall not implemented, current input not working on ast or typechek or codegen 2024-06-20 12:47:03 +02:00
621ce16615 returnType of bLockStatement is now always null 2024-06-20 11:27:17 +02:00
Krauß, Josefine
5a66ce97ca Merge remote-tracking branch 'origin/master' 2024-06-20 11:03:41 +02:00
Krauß, Josefine
fdae734452 mostly refactoring und now using "typecheckexception" 2024-06-20 11:03:27 +02:00
ebd4f7ca4e fix parameterList in ast 2024-06-20 09:35:43 +02:00
Jochen Seyfried
719e19e7f8 Added TODOs 2024-06-20 09:07:29 +02:00
Krauß, Josefine
5220a65a92 testing in meeting 2024-06-20 08:30:12 +02:00
Krauß, Josefine
6585e67273 Merge remote-tracking branch 'origin/master' 2024-06-20 08:01:52 +02:00
Krauß, Josefine
6915a97432 instvar typecheck and getTypeCheckresults 2024-06-20 08:00:23 +02:00
c96d9fc1a1 fix block in constructor in ast 2024-06-20 07:37:24 +02:00
b00979c1a8 fix ast 2024-06-20 07:28:31 +02:00
112c5f2c1b add instVar to ast 2024-06-19 20:35:59 +02:00
KingJulian
46ac49576e Changed to take ".class" files again :) 2024-06-19 17:05:54 +02:00