Commit Graph

229 Commits

Author SHA1 Message Date
Jochen Seyfried
5dae167443 Fixed TestClassInput to run through which included the right usage of the class fields as it always loaded this onto the stack, regardless of the class in which the field is in 2024-07-02 18:35:25 +02:00
Krauß, Josefine
47a8d50185 method call without using return is a void statement 2024-07-02 15:45:41 +02:00
Krauß, Josefine
94b3830561 instvar special case 2024-07-02 15:36:27 +02:00
Krauß, Josefine
3dcaad62f9 Merge branch 'master' of https://gitea.hb.dhbw-stuttgart.de/i22022/NichtHaskell 2024-07-02 15:22:33 +02:00
Krauß, Josefine
62060462a9 instvar debugging 2024-07-02 15:21:46 +02:00
Jochen Seyfried
d5b526b8fc fixed MethodCallStatementExpression maybe 2024-07-02 15:21:32 +02:00
Julian Murek
10f5dc692d Codegen now generates "output.jar" 2024-07-02 13:04:43 +02:00
Julian Murek
e46cede8d5 Test update 2024-07-02 12:57:44 +02:00
Jochen Seyfried
38aeaa657d First step to fixing methodCall 2024-07-01 23:35:24 +02:00
Jochen Seyfried
cabbbdcaf3 Fixed fields with no imminent value assignment 2024-07-01 20:55:02 +02:00
Krauß, Josefine
192dfae94b changes for jar build 2024-07-01 17:45:07 +02:00
Jochen Seyfried
c24a483880 Fixed complex return types of methods 2024-07-01 13:23:22 +02:00
Julian Murek
aa7d82b9ac Merge branch 'master' of https://gitea.hb.dhbw-stuttgart.de/i22022/NichtHaskell 2024-07-01 13:13:26 +02:00
Julian Murek
94ea539fab Test update 2024-07-01 13:13:07 +02:00
Jochen Seyfried
6bf2c75e02 Deleted print statement and tested functionality of method call 2024-07-01 11:45:51 +02:00
Krauß, Josefine
d2b307f86f Merge remote-tracking branch 'origin/master' 2024-07-01 11:19:42 +02:00
Krauß, Josefine
5b0dc04bd7 reached in wrong class and missing typecheckcall on parameters iexpression 2024-07-01 11:19:31 +02:00
6c015e72d5 generated antlr 2024-07-01 11:14:30 +02:00
Krauß, Josefine
cd9fc46a1f Merge remote-tracking branch 'origin/master' 2024-07-01 09:09:33 +02:00
Krauß, Josefine
9b0d8147db bugfix print should return void 2024-07-01 09:09:23 +02:00
Julian Murek
21ece58cc9 Add Print statements to AST equals Methods 2024-07-01 08:36:20 +02:00
8e0b215140 Merge remote-tracking branch 'origin/master' 2024-06-30 22:48:55 +02:00
3fa8400b72 bugfix print 2024-06-30 22:48:35 +02:00
Jochen Seyfried
07552e704e Added bytecodeGeneration for PrintStatement and fixed basic MethodCall 2024-06-30 18:04:04 +02:00
Krauß, Josefine
194ff3fcf7 Merge remote-tracking branch 'origin/master' 2024-06-30 15:25:21 +02:00
Krauß, Josefine
f5dcd4d79f typecheck for PrintStatement 2024-06-30 15:24:47 +02:00
492bab5477 Dateien nach "/" hochladen 2024-06-30 13:08:11 +00:00
David Mueller
99d23e89fa Merge remote-tracking branch 'origin/master' 2024-06-30 15:02:06 +02:00
David Mueller
16cf78521b Update UML- Diagramm 2024-06-30 15:01:57 +02:00
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