Commit Graph

177 Commits

Author SHA1 Message Date
d27ec0643a Add visitor for class code generation 2024-05-14 10:58:04 +02:00
79a140b683 Merge branch 'main' of https://gitea.hb.dhbw-stuttgart.de/i22005/NichtHaskell2.0 into code-generator 2024-05-14 10:01:20 +02:00
Lucas
e4d0b93880 Merge remote-tracking branch 'origin/main' 2024-05-14 10:00:38 +02:00
b6bbf7e1d5 Merge pull request 'johns-branch' (#4) from johns-branch into main
Reviewed-on: #4
Reviewed-by: i22035 <i22035@hb.dhbw-stuttgart.de>
2024-05-14 08:00:06 +00:00
Lucas
584dcc6beb Merge remote-tracking branch 'origin/main' 2024-05-14 09:56:15 +02:00
i22007
1fbec0d754 First try with visitors 2024-05-13 20:15:17 +02:00
Bruder John
e987faae64 Added Basic Typecheck for integers 2024-05-10 10:43:09 +02:00
Bruder John
2bae802cb2 changed to visitor pattern 2024-05-09 22:39:26 +02:00
Bruder John
0052b5b547 Added Int Literal 2024-05-09 19:13:18 +02:00
Bruder John
b773793937 Merge branch 'main' into johns-branch 2024-05-09 14:23:07 +02:00
Bruder John
43cafcd01f added Expression analysis 2024-05-09 14:21:07 +02:00
651a8b6ebf Merge pull request 'parser' (#3) from parser into main
Reviewed-on: #3
Reviewed-by: i22007 <i22007@hb.dhbw-stuttgart.de>
2024-05-09 12:06:31 +00:00
6b7fc09f8f Changed AST Tree 2024-05-09 13:55:45 +02:00
4acf4dfe24 Added Statements and Expressions for parser 2024-05-09 13:47:38 +02:00
IchHab4Euro
0bce8639f5 Updated Contructor Parsing 2024-05-09 12:56:37 +02:00
Bruder John
a86bede5a7 Added down to Expression 2024-05-09 00:13:23 +02:00
Bruder John
03645f7a84 fixed bugs after update branch 2024-05-08 23:47:37 +02:00
Bruder John
73b9eeddb0 Merge branch 'main' into johns-branch 2024-05-08 23:46:28 +02:00
Bruder John
159413dd7d fixed bugs 2024-05-08 23:44:17 +02:00
Lucas
275eceb80a Merge branch 'main' of https://gitea.hb.dhbw-stuttgart.de/i22005/JavaCompiler 2024-05-08 16:12:54 +02:00
i22007
458983fc68 Change on filepath 2024-05-08 16:12:04 +02:00
Lucas
9d6717a9ce nix 2024-05-08 16:11:28 +02:00
Lucas
4699e655fe Merge remote-tracking branch 'origin/main'
# Conflicts:
#	src/main/java/CompilerInput.txt
#	src/main/java/Main.java
2024-05-08 15:55:43 +02:00
Lucas
b7cb34c6ec Structure and Fixes 2024-05-08 15:54:23 +02:00
26653ac719 Add AccesTypeToOpcode mapper 2024-05-08 15:23:04 +02:00
44452d204b Add accesTypeToOpcode mapper 2024-05-08 15:22:39 +02:00
Bruder John
c4a35decba Merge branch 'main' into johns-branch 2024-05-08 15:22:05 +02:00
Purplumbi
3cbef38c5e Visitor and generated updated 2024-05-08 15:17:35 +02:00
Bruder John
b2e86ca631 moved Eample to resources 2024-05-08 15:04:57 +02:00
Purplumbi
7c54c0f04c FieldAccessType added 2024-05-08 15:04:25 +02:00
Purplumbi
5529704693 AccessType Fix 2024-05-08 14:47:41 +02:00
Purplumbi
8fbe7d0800 TypeNodeEnum and AccessTypeNode 2024-05-08 14:41:08 +02:00
Bruder John
c0b30f9620 Added Identifier 2024-05-08 14:40:34 +02:00
Bruder John
7249054da5 Merge branch 'main' into johns-branch 2024-05-08 14:21:14 +02:00
Purplumbi
c9ec426412 Ast Fixes 2024-05-08 14:08:24 +02:00
i22007
94c037467e Fixed write bytecode into file 2024-05-08 14:07:16 +02:00
Purplumbi
91a3c3042d ParameterNode 2024-05-08 13:56:58 +02:00
Purplumbi
44545f7ba6 Visiters added 2024-05-08 13:54:39 +02:00
56ce3c33c3 Removed moved method 2024-05-08 13:44:41 +02:00
3ac354b7dd FIxed ByteCodeGenerator 2024-05-08 13:39:33 +02:00
Bruder John
f60fa05153 Merge branch 'main' into johns-branch 2024-05-08 13:34:09 +02:00
Bruder John
a98cb26083 first change 2024-05-08 13:33:20 +02:00
Purplumbi
abcd5a55ef Merge remote-tracking branch 'origin/main' 2024-05-08 13:27:48 +02:00
Purplumbi
20052e619d Antlr + Visitors 2024-05-08 13:27:40 +02:00
Lucas
d7a8500109 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	src/main/java/Main.java
#	src/main/java/bytecode/ByteCodeGenerator.java
2024-05-08 13:14:16 +02:00
Lucas
d014cb28c7 Structure and Fixes 2024-05-08 13:10:45 +02:00
ce2ea07f96 Move code generation 2024-05-08 13:10:29 +02:00
b173d77620 Fixed change errors 2024-05-08 13:06:27 +02:00
Bruder John
2539b7cff1 Merge branch 'main' into johns-branch 2024-05-08 11:50:18 +02:00
Purplumbi
993bd8fc60 Generated Antlr 2024-05-08 11:47:17 +02:00