Commit Graph

200 Commits

Author SHA1 Message Date
0c9acb2bc9 add PrintStatement to ast 2024-06-30 14:46:58 +02:00
David Mueller
2c7748e6a3 Adding PrintStatement to Grammar 2024-06-30 14:32:17 +02:00
Krauß, Josefine
4b2edaa6ff Merge remote-tracking branch 'origin/master' 2024-06-30 13:39:32 +02:00
Krauß, Josefine
dd2842138f missing case in methodcall 2024-06-30 13:39:20 +02:00
Jochen Seyfried
942597d535 Removed TODOs 2024-06-29 14:04:00 +02:00
Jochen Seyfried
392fea7d23 Fixed Bug concerning all BinaryOperators which are not booleanExpressions but produce a value. 2024-06-29 14:02:51 +02:00
Jochen Seyfried
d1da1c6eee Deleted TODOs which are done 2024-06-28 20:31:21 +02:00
Jochen Seyfried
b787b333fb Fixed usage of fields 2024-06-28 20:29:58 +02:00
Jochen Seyfried
27ca4a978f Updated the handling of fields 2024-06-28 20:16:19 +02:00
Jochen Seyfried
289231030a Merge remote-tracking branch 'origin/master' 2024-06-28 19:46:45 +02:00
3b2a328182 add expression to fieldecl 2024-06-28 19:46:09 +02:00
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