Commit Graph

289 Commits

Author SHA1 Message Date
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
77bf6cff62 Merge remote-tracking branch 'origin/master' 2024-05-31 12:12:18 +02:00
a97548c3ee fix localvardecl 2024-05-31 12:11:43 +02:00
Julian Murek
06dc01f629 Merge branch 'master' of https://gitea.hb.dhbw-stuttgart.de/i22022/NichtHaskell 2024-05-31 12:11:32 +02:00
Julian Murek
50215afb07 Merge branch 'master' of https://gitea.hb.dhbw-stuttgart.de/i22022/NichtHaskell 2024-05-31 12:11:24 +02:00
Jochen Seyfried
5592a6cfe1 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/main/java/abstractSyntaxTree/StatementExpression/NewStatementExpression.java
2024-05-31 12:09:47 +02:00
Julian Murek
dac0b3370f Le update a la Julian 2024-05-31 12:09:23 +02:00
Jochen Seyfried
519d891743 NewStatementExpression start 2024-05-31 12:08:47 +02:00
d4cc24239d Merge remote-tracking branch 'origin/master' 2024-05-31 11:55:58 +02:00
25d379876b add assign 2024-05-31 11:55:33 +02:00
Krauß, Josefine
abc4e3ff70 continued typecheck 2024-05-31 11:54:57 +02:00
Krauß, Josefine
a147512dcb Merge remote-tracking branch 'origin/master' 2024-05-31 11:06:18 +02:00
Krauß, Josefine
b20b7adc99 removed unused method 2024-05-31 11:06:10 +02:00
3953bbe549 Merge remote-tracking branch 'origin/master' 2024-05-31 11:05:31 +02:00
7458be43d7 add class intConstant to ast 2024-05-31 11:05:05 +02:00
Krauß, Josefine
8d6d8d5588 merged assign statement expression 2024-05-31 11:03:16 +02:00
Krauß, Josefine
ef38079f58 Merge branch 'master' of https://gitea.hb.dhbw-stuttgart.de/i22022/NichtHaskell
# Conflicts:
#	src/main/java/abstractSyntaxTree/Class/MethodDecl.java
#	src/main/java/abstractSyntaxTree/StatementExpression/AssignStatementExpression.java
#	src/main/java/abstractSyntaxTree/StatementExpression/MethodCallStatementExpression.java
2024-05-31 11:00:50 +02:00
Krauß, Josefine
9d86ab3a9f method parameters 2024-05-31 10:59:06 +02:00
95313d8083 Merge remote-tracking branch 'origin/master' 2024-05-31 10:45:45 +02:00
8549799175 fix ifstmt in ASTGenerator 2024-05-31 10:44:45 +02:00
Jochen Seyfried
21dff015b5 Changed the order of arguments 2024-05-31 10:42:14 +02:00
Jochen Seyfried
9fa9dfdfb6 Fixed missing parameters in Program, MethodDecl, and RefType 2024-05-31 10:26:47 +02:00
Jochen Seyfried
ab19751146 Updated IStatement and IExpression classes to fit the method calls 2024-05-31 10:04:27 +02:00
Krauß, Josefine
5fa6664850 Merge branch 'master' of https://gitea.hb.dhbw-stuttgart.de/i22022/NichtHaskell
# Conflicts:
#	src/main/java/abstractSyntaxTree/Expression/LocalVarIdentifier.java
#	src/main/java/abstractSyntaxTree/Expression/UnaryExpression.java
#	src/main/java/abstractSyntaxTree/Statement/ReturnStatement.java
#	src/main/java/abstractSyntaxTree/StatementExpression/AssignStatementExpression.java
2024-05-31 09:42:21 +02:00
Krauß, Josefine
08d13a0df7 method parameters 2024-05-31 09:39:17 +02:00
d6fb825808 add Node to IExpression 2024-05-30 20:57:50 +02:00
873d1b7a0a Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/main/java/abstractSyntaxTree/Expression/IExpression.java
2024-05-30 20:38:46 +02:00
d1e39be655 add binary expressions in ast 2024-05-30 20:38:06 +02:00