Commit Graph

335 Commits

Author SHA1 Message Date
JonathanFleischmann
f4475ae7c6 Merge remote-tracking branch 'origin/main' 2024-06-30 21:20:50 +02:00
JonathanFleischmann
0abcebb329 Merge branch 'refs/heads/main' into testsuites 2024-06-30 21:16:21 +02:00
d9cf560331 Merge branch 'main' of https://github.com/JonathanFleischmann/CompilerULTIMATE 2024-06-30 21:15:59 +02:00
d67f3ce827 fix field attribute always true 2024-06-30 21:15:54 +02:00
ahmad
0bfd9381f7 Catch retrieving the field variable without this 2024-06-30 21:10:49 +02:00
ahmad
27d56c470c Catch retrieving the field variable without this 2024-06-30 21:09:48 +02:00
JonathanFleischmann
122b165410 Merge branch 'refs/heads/main' into testsuites 2024-06-30 20:52:32 +02:00
JonathanFleischmann
235b122e91 adding rest of Negative Tests 2024-06-30 20:52:10 +02:00
ahmad
b4fd003f8e Refactored typedAST 2024-06-30 20:34:29 +02:00
ahmad
ae3280fb67 Added a constructor für typedclass 2024-06-30 16:36:44 +02:00
ahmad
3a3ac49054 Removed direct usage of fields and methods in Main 2024-06-30 15:10:56 +02:00
18125531cf Merge branch 'main' of https://github.com/JonathanFleischmann/CompilerULTIMATE 2024-06-29 22:10:44 +02:00
f500eff446 fix wrong field attribute 2024-06-29 22:10:35 +02:00
JonathanFleischmann
8e6de30f22 working on negative Tests 2024-06-29 17:37:02 +02:00
JonathanFleischmann
cd8cff9a0e working on negative Tests 2024-06-29 17:13:30 +02:00
JonathanFleischmann
fc28ec5f12 cleaned a bit and added implementation in CodegeneratorTests which executes all the codeGen tests 2024-06-29 16:50:06 +02:00
JonathanFleischmann
6362299de9 Merge branch 'refs/heads/main' into testsuites 2024-06-29 16:49:59 +02:00
simon
bd25f27196 fix ScannerParserTests input filepaths 2024-06-29 14:48:29 +02:00
ahmad
e6e5433a91 Added check for field of other classes 2024-06-29 14:27:37 +02:00
ahmad
878794ffa7 Fixed using same parameter in different methods or constructors 2024-06-29 10:32:40 +02:00
simon
3b0649f5cd Merge remote-tracking branch 'origin/main' 2024-06-29 08:57:21 +02:00
3f01c8d7ed Point before line logic in Expression Gnerator sorry 2024-06-29 01:17:27 +02:00
JonathanFleischmann
60105093ac added some e2e tests 2024-06-28 23:20:52 +02:00
JonathanFleischmann
4974a218b4 added some e2e tests 2024-06-28 23:18:15 +02:00
JonathanFleischmann
d11197173e added some e2e tests 2024-06-28 22:57:43 +02:00
simon
1b87dfb78e make NewClass Test comply with our definition of fieldVarAccess 2024-06-28 22:05:26 +02:00
simon
354502cc20 fix AND Logical Operation 2024-06-28 21:57:19 +02:00
JonathanFleischmann
133e7824ba added some e2e tests 2024-06-28 21:31:01 +02:00
JonathanFleischmann
88061275b8 fixed and added some e2e tests 2024-06-28 20:54:42 +02:00
simon
576fceb89b Merge branch 'refs/heads/testsuites' 2024-06-28 18:53:40 +02:00
simon
270a73c74e Merge remote-tracking branch 'origin/main' 2024-06-28 18:53:07 +02:00
simon
28d0625633 always pop break labels 2024-06-28 18:52:59 +02:00
ahmad
fbe8280e30 Found error in testsuite fo continue 2024-06-28 17:59:11 +02:00
ahmad
3ca35151a4 Updated TypedBinary 2024-06-28 17:55:53 +02:00
simon
eac411972a better Label-Logging-Support 2024-06-27 22:25:31 +02:00
JonathanFleischmann
3e2368d13c added some e2e tests for CodeGenFiles with reflections 2024-06-27 22:05:22 +02:00
simon
c823894eb2 fix problem with new 2024-06-27 21:43:13 +02:00
JonathanFleischmann
71df6cc1d5 added some e2e tests for CodeGenFiles with reflections 2024-06-27 20:10:51 +02:00
JonathanFleischmann
4be2af92f0 Merge branch 'refs/heads/main' into testsuites 2024-06-27 20:05:09 +02:00
ahmad
adf00a1803 Fixed while condition 2024-06-27 20:01:21 +02:00
JonathanFleischmann
2029f496ce added some e2e tests for CodeGenFiles with reflections 2024-06-27 19:24:27 +02:00
JonathanFleischmann
78a34b915e added some e2e tests for CodeGenFiles with reflections 2024-06-27 19:10:43 +02:00
ahmad
a9bebece45 corrected TypedLocalVariable 2024-06-26 22:45:53 +02:00
Ahmad
50b6a821bb Implemented checkReturn 2024-06-26 21:20:07 +02:00
Ahmad
4532d220d3 Changed the retrieving of fields is allowed only with this 2024-06-26 19:01:53 +02:00
eee1c139a7 set field in recipient for method to true and update test 2024-06-25 20:50:50 +02:00
simon
4efa45f668 major refactoring to please sonar, add commandline-debug option to display bytecode info while compilation 2024-06-25 19:27:40 +02:00
simon
b917ae594d add returnType into MethodContext constructor call 2024-06-25 17:28:21 +02:00
simon
ee2553b089 add some e2e tests and make BytecodeTestUtil usable with different constructors 2024-06-25 17:26:31 +02:00
simon
7d8e787668 add toString to TypedProgram 2024-06-23 20:30:29 +02:00