Commit Graph

209 Commits

Author SHA1 Message Date
Lucas
6a971345d4 Structure and more
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2024-06-12 11:17:16 +02:00
Bruder John
56d316a6d0 Changed to InstVar
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
2024-06-01 18:37:13 +02:00
Lucas
8d6190b130 Structure, Makefile, Docs, TestCompilerOutput, more; TODO: fix marked Problems in Makefile; fix Compiler (look at TestCompilerOutput docs)
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
2024-05-31 17:09:04 +02:00
09e36a84dc Merge remote-tracking branch 'origin/parser2.0' into code-generator
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
2024-05-31 11:32:53 +02:00
Maximilian Stahl
e395c4d96b Fixed Boolean and Char Literal
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2024-05-31 11:32:11 +02:00
Bruder John
8a5f307947 Fix Type
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2024-05-31 11:27:02 +02:00
514f7d724a Merge remote-tracking branch 'origin/parser2.0' into code-generator
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2024-05-31 11:20:38 +02:00
Lucas
9f40949f5a Structure
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2024-05-31 11:20:31 +02:00
Maximilian Stahl
de5c2a5002 Added Parser Visitors
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2024-05-31 11:16:25 +02:00
Bruder John
22a30d5956 Added typecheck for Assignment
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
2024-05-31 11:08:41 +02:00
Lucas
1132ff015c Changes in tests
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2024-05-31 11:05:45 +02:00
Lucas
2a20a91d35 Refactor structure and more
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2024-05-31 10:55:41 +02:00
407b03620e Code for assignment
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2024-05-31 10:46:23 +02:00
Lucas
b2e1745d51 Merge branch 'main' into Tests
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2024-05-31 10:04:40 +02:00
Lucas
a0e55d7b27 first testrun of the day 2024-05-31 10:00:46 +02:00
Lucas
5a28d88f6a comments 2024-05-31 09:58:07 +02:00
Bruder John
403ab70655 Adapted Binary Expression
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2024-05-30 19:07:29 +02:00
Bruder John
d91e3ad819 added maven test
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
2024-05-14 17:59:53 +02:00
Bruder John
8b9b70b9ee Added Test for Semantic Analyzier 2024-05-14 17:47:26 +02:00
Bruder John
7906a38cdd Merge remote-tracking branch 'origin/Tests' into johns-branch 2024-05-14 16:47:33 +02:00
Lucas
dd424cda99 Tests and Main 2024-05-14 15:47:49 +02:00
Bruder John
149caf5202 Merge branch 'main' into johns-branch 2024-05-14 15:35:03 +02:00
d2f8ea1e78 Merge remote-tracking branch 'origin/johns-branch' into code-generator 2024-05-14 15:33:56 +02:00
Bruder John
c5bb038fc3 added same Method Declaration 2024-05-14 15:31:02 +02:00
b7d5a5c625 Fixed empty class code gen 2024-05-14 15:26:05 +02:00
Lucas
f781d8eeb6 Merge remote-tracking branch 'origin/johns-branch' into Tests 2024-05-14 13:49:10 +02:00
Bruder John
b64e2efc82 Changed To TypeNode 2024-05-14 13:46:14 +02:00
Lucas
8b6189ea33 Tests and Main 2024-05-14 13:16:28 +02:00
91f7db24f6 Merge remote-tracking branch 'origin/johns-branch' into code-generator 2024-05-14 13:00:54 +02:00
Bruder John
33df2c1c0a Fixed errors 2024-05-14 12:53:40 +02:00
6250ee781c Merge remote-tracking branch 'origin/johns-branch' into code-generator 2024-05-14 12:52:07 +02:00
Bruder John
6318085c00 added TypeCheckResult 2024-05-14 12:51:49 +02:00
f5da71478f Merge remote-tracking branch 'origin/johns-branch' into code-generator 2024-05-14 11:44:44 +02:00
Bruder John
a8638fe70c fixed error 2024-05-14 11:40:43 +02:00
edb7aafd77 Merge branch 'main' into code-generator 2024-05-14 11:39:41 +02:00
c4061125c4 Add method parameters to bytecode 2024-05-14 11:39:14 +02:00
Lucas
1d9d7e1f00 Testsuite, MainTest, Main 2024-05-14 11:22:33 +02:00
Bruder John
1441e34078 Merge branch 'main' into johns-branch 2024-05-14 11:20:44 +02:00
Bruder John
dfe96d9a87 changed to interfaces 2024-05-14 11:19:31 +02:00
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
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
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
i22007
458983fc68 Change on filepath 2024-05-08 16:12:04 +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
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
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
Purplumbi
402249e1ac Merge remote-tracking branch 'origin/main'
# Conflicts:
#	src/main/java/parser/Main.java
2024-05-08 11:44:13 +02:00
Purplumbi
5681e3e5f2 AST 2024-05-08 11:43:04 +02:00
i22011
c48a3671fb Structure 2024-05-08 11:42:34 +02:00
Bruder John
5344b01384 Merge branch 'main' into johns-branch 2024-05-08 11:41:45 +02:00
Bruder John
6e8079807a Added Typchecker and Semantic analyzer 2024-05-08 11:41:38 +02:00
i22011
7e4c0d97f6 Merge remote-tracking branch 'origin/main' 2024-05-08 11:25:24 +02:00
i22011
ed6fce0b5a Tests and Main 2024-05-08 11:25:16 +02:00
d131d412f0 Add classFIleOutput folder 2024-05-08 11:21:42 +02:00
i22011
d0448b01cd Merge remote-tracking branch 'origin/main' 2024-05-08 10:41:28 +02:00
i22011
9a491131b2 Tests 2024-05-08 10:41:13 +02:00
i22007
d93d11c1e3 Merge branch 'main' of https://gitea.hb.dhbw-stuttgart.de/i22005/NichtHaskell2.0 2024-05-08 10:39:04 +02:00
i22007
a1378f1cfb Add constructor for empty class 2024-05-08 10:35:18 +02:00
i22011
3b72d09df5 Merge remote-tracking branch 'origin/main' 2024-05-08 09:53:22 +02:00
i22011
220fdb506d Tests 2024-05-08 09:52:58 +02:00
i22011
3823da5b2f Tests 2024-05-08 09:45:38 +02:00
i22007
da68aacaa0 Generate byteode for empty class without typecheck 2024-05-07 19:13:40 +02:00
i22011
56c32fe9d3 Merge remote-tracking branch 'origin/main' 2024-05-02 16:10:47 +02:00
i22011
fe689b7253 Tests 2024-05-02 16:09:24 +02:00
Maximilian Stahl
d270992858 Ausführung Parser 2024-05-02 15:22:29 +02:00
Bruder John
cd7aac282e added antlr 2024-05-02 15:03:20 +02:00
Bruder John
8cdd13c4dc Merge branch 'main' of https://gitea.hb.dhbw-stuttgart.de/i22005/JavaCompiler 2024-05-02 14:55:12 +02:00
Bruder John
9a3bce1e78 added ast 2024-05-02 14:55:04 +02:00
Maximilian Stahl
afe87ed2e2 Antrl File 2024-05-02 14:54:19 +02:00
Bruder John
5ba5d78f31 added ast 2024-05-02 14:32:10 +02:00
i22011
238cd51dde Test init 2024-04-24 14:41:58 +02:00
Bruder John
2b17fa4e17 Initilized project 2024-04-24 14:06:10 +02:00