Commit Graph

124 Commits

Author SHA1 Message Date
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
Jochen Seyfried
b91174eeee Implemented CodeGen for Assign and MethodCall. But MethodCall is not working at the moment 2024-05-22 12:49:59 +02:00
Jochen Seyfried
108b8f63ea Updated CodeGen of FiledDecl and MethodDecl and Assign 2024-05-22 10:05:20 +02:00
Julian Murek
3be8d9854a euqals methods overriden in "Program, RefType, MethodDecl and FieldDecl" for AST comparison. 2024-05-14 15:34:26 +02:00
Krauß, Josefine
35fba57efa Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/main/java/abstractSyntaxTree/Statement/IfElseStatement.java
#	src/main/java/abstractSyntaxTree/Statement/IfStatement.java
#	src/main/java/abstractSyntaxTree/Statement/WhileStatement.java
2024-05-14 15:19:26 +02:00
Krauß, Josefine
6148b46063 parameterlist, typecheck 2024-05-14 15:18:18 +02:00
Krauß, Josefine
a59950e186 parameterlist, typecheck 2024-05-14 15:15:58 +02:00
Jochen Seyfried
0fcea195de Updated If and WhileStatement 2024-05-14 14:54:33 +02:00
Jochen Seyfried
f2260c7a73 Deleted ICLass and updated the MethodDecl codeGen 2024-05-14 14:51:59 +02:00
Krauß, Josefine
74e3cb8016 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/main/java/Compiler.java
#	src/main/java/abstractSyntaxTree/Class/MethodDecl.java
#	src/main/java/abstractSyntaxTree/Class/RefType.java
#	src/main/java/abstractSyntaxTree/Program.java
2024-05-14 14:48:25 +02:00
Krauß, Josefine
2f549e31e9 interface changes, added localvaridentifier, removed iclass interface, some type check for statements, delete varrefexpression 2024-05-14 14:45:04 +02:00
0a81315366 Merge remote-tracking branch 'origin/master' 2024-05-14 14:23:55 +02:00
99b979d77f add new package for astGenerator 2024-05-14 14:23:12 +02:00
Jochen Seyfried
6eb26e70d5 Deleted ICLass and updated the MethodDecl codeGen 2024-05-14 14:13:43 +02:00
Jochen Seyfried
7ff84e5ad7 Changed the methodContext to use the ParameterList 2024-05-14 11:53:00 +02:00
Krauß, Josefine
87cde5e048 inzterface changes typecheck 2024-05-14 11:33:17 +02:00