Commit Graph

166 Commits

Author SHA1 Message Date
Krauß, Josefine
2a2e14ae21 methodcall 2024-06-26 15:38:46 +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
KingJulian
eaac9898f4 test update 2024-06-19 15:26:41 +02:00
Julian Murek
e70580ac86 Update junit 2024-06-19 12:58:09 +02:00
afd2319d78 Merge remote-tracking branch 'origin/master' 2024-06-18 16:09:46 +02:00
821908f060 fix int in ASTGenerator 2024-06-18 16:09:31 +02:00
Krauß, Josefine
d8397753ca Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/main/java/Input.java
2024-06-18 15:42:27 +02:00
Krauß, Josefine
6fa199da1d makeing else f work without type of code block 2024-06-18 15:42:04 +02:00
666931fa44 fix SuperStatementExpression 2024-06-18 11:49:25 +02:00
cdc81f705a add method call to ast and change bool to boolean in grammar 2024-06-18 11:47:21 +02:00
Krauß, Josefine
6f9791455d Merge remote-tracking branch 'origin/master' 2024-06-18 10:08:25 +02:00
Krauß, Josefine
0f76b1fdae small change due to "not" as block return 2024-06-18 10:08:14 +02:00
KingJulian
c44ed5446d Vorläufige Testsuite für ByteCode-Testing 2024-06-16 12:28:27 +02:00
Krauß, Josefine
fa430301bb typecheck update for Example3 2024-06-14 17:00:03 +02:00
23f541ff7d add char and boolean values to ast 2024-06-12 20:19:02 +02:00
Jochen Seyfried
bc984a89e1 Merge remote-tracking branch 'origin/master' 2024-05-31 13:53:19 +02:00
Jochen Seyfried
63059994ec Implemented NewStatementExpression and finished the return of objects (classes, methods) with fully qualified name 2024-05-31 13:53:06 +02:00
Krauß, Josefine
949c2de28e Merge remote-tracking branch 'origin/master' 2024-05-31 13:41:45 +02:00
Krauß, Josefine
c71d5454c6 typecheck 2024-05-31 13:41:30 +02:00
d665c0393c Merge remote-tracking branch 'origin/master' 2024-05-31 13:08:26 +02:00
39e8e0ea6a change returnType of constructorDecl to null 2024-05-31 13:08:18 +02:00
Krauß, Josefine
0d827c5f32 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/main/java/abstractSyntaxTree/Datatype/BoolDatatype.java
#	src/main/java/abstractSyntaxTree/Datatype/CharDatatype.java
#	src/main/java/abstractSyntaxTree/Datatype/IntDatatype.java
#	src/main/java/abstractSyntaxTree/Expression/BinaryExpression.java
#	src/main/java/abstractSyntaxTree/Expression/InstVarExpression.java
#	src/main/java/abstractSyntaxTree/Expression/IntConstantExpression.java
#	src/main/java/abstractSyntaxTree/Expression/LocalVarIdentifier.java
#	src/main/java/abstractSyntaxTree/Expression/UnaryExpression.java
#	src/main/java/abstractSyntaxTree/Statement/BlockStatement.java
#	src/main/java/abstractSyntaxTree/Statement/EmptyStatement.java
#	src/main/java/abstractSyntaxTree/Statement/IfElseStatement.java
#	src/main/java/abstractSyntaxTree/Statement/IfStatement.java
#	src/main/java/abstractSyntaxTree/Statement/LocalVarDecl.java
#	src/main/java/abstractSyntaxTree/Statement/ReturnStatement.java
#	src/main/java/abstractSyntaxTree/Statement/WhileStatement.java
2024-05-31 13:05:31 +02:00
Krauß, Josefine
ec38d8049b gettypecheckresult 2024-05-31 12:59:58 +02:00
9d9dcfb9b6 add newDecl to ASTGenerator 2024-05-31 12:53:03 +02:00
Julian Murek
66428159c1 Import path adjusted 2024-05-31 12:13:41 +02:00