Commit Graph

289 Commits

Author SHA1 Message Date
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
Krauß, Josefine
c3a9b9a7d6 Merge remote-tracking branch 'origin/master' 2024-05-14 11:32:40 +02:00
Krauß, Josefine
4ca936e619 using input from file 2024-05-14 11:32:21 +02:00
David Mueller
6e707cc7ed Antlr Changes EmptyStatement 2024-05-14 10:45:15 +02:00
David Mueller
d22ea6b962 Antlr Changes to Methodcalls from Return 2024-05-14 10:31:53 +02:00
091eaa912e add some visitstatement methods in ASTGenerator 2024-05-13 23:19:36 +02:00
e99b7adcd4 change methods in ASTGenerator 2024-05-13 22:09:24 +02:00
3783a1d61b Merge remote-tracking branch 'origin/master' 2024-05-13 22:08:05 +02:00
d0f3f3b938 change methods in ASTGenerator 2024-05-13 22:04:02 +02:00
Jochen Seyfried
b5b6f763e0 Updated the codeGen Methods in FieldDecl, MethodDecl and BlockStatement 2024-05-13 21:04:09 +02:00
cc05c58159 added ast methods, parameter classes 2024-05-11 20:45:51 +02:00
91340125ef added ast generator 2024-05-10 06:23:09 +02:00
484418e884 added ast 2024-05-10 06:18:32 +02:00
KingJulian
309aff9576 File to test Token-Generation 2024-05-09 18:35:40 +02:00
KingJulian
4c73ae6786 Updatet Tests for Token-Generation 2024-05-09 18:33:33 +02:00
Krauß, Josefine
4f2599d053 interface changes and some typecheck for code block. also some minor changes in blockstatement structure 2024-05-09 17:28:29 +02:00
Krauß, Josefine
371755f390 Merge remote-tracking branch 'origin/master' 2024-05-09 16:52:23 +02:00
Krauß, Josefine
9ec583b17f moved tables out of constructor and fixed some type check 2024-05-09 16:49:53 +02:00
David Mueller
9166d87afd Changes to the Grammar 2024-05-09 16:08:07 +02:00
Jochen Seyfried
1cd4d87a94 Deleted old Source 2024-05-09 15:58:48 +02:00
Jochen Seyfried
cf590b2248 Added dependencies to pom 2024-05-09 15:56:23 +02:00
Jochen Seyfried
0576bd303d Pom and gitignore 2024-05-09 15:41:52 +02:00
Jay
334f470488 Maven structure 2024-05-09 15:25:46 +02:00
Krauß, Josefine
85282ff90c Merge remote-tracking branch 'origin/master' 2024-05-09 15:12:23 +02:00
Krauß, Josefine
dbcf40ea84 antr gen package expilcitly added and some printlines in main 2024-05-09 15:12:08 +02:00
Jochen Seyfried
8419b1aa17 Changed the generation to a .class 2024-05-09 15:10:53 +02:00
Jochen Seyfried
80917ec222 Fixed nullPointer Exception for missing class name 2024-05-09 14:41:07 +02:00
Jochen Seyfried
965b758fba Fixed the Program call 2024-05-09 14:28:32 +02:00
Krauß, Josefine
5de106876a Merge remote-tracking branch 'origin/master' 2024-05-09 14:22:59 +02:00
Krauß, Josefine
2c6bef9e9e antr generated 2024-05-09 14:22:45 +02:00
Jochen Seyfried
950354a2e7 Merge remote-tracking branch 'origin/master' 2024-05-09 14:21:07 +02:00
Jochen Seyfried
2b671c32db Changed some missing parameters 2024-05-09 14:20:55 +02:00
Julian Murek
ec7dd2a10d Maven structure 2024-05-09 14:16:39 +02:00
Krauß, Josefine
b8a8a094f4 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	Source/abstractSyntaxTree/Class/MethodDecl.java
2024-05-08 15:15:25 +02:00
Krauß, Josefine
fe249c5b2a try to run main 2024-05-08 15:14:58 +02:00
Jochen Seyfried
1617e3ec62 Added RefType codeGen logic 2024-05-08 14:42:56 +02:00