Commit Graph

314 Commits

Author SHA1 Message Date
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
a72c985210 format README 2024-06-25 17:47:40 +02:00
simon
b917ae594d add returnType into MethodContext constructor call 2024-06-25 17:28:21 +02:00
simon
724347e250 add some details to readme 2024-06-25 17:26:56 +02:00
simon
ee2553b089 add some e2e tests and make BytecodeTestUtil usable with different constructors 2024-06-25 17:26:31 +02:00
Ahmad
4733e77522 Added folder presentation and init the slidev presentation 2024-06-24 21:33:40 +02:00
simon
7d8e787668 add toString to TypedProgram 2024-06-23 20:30:29 +02:00
simon
849ca1257b make compiler accessible from commandline 2024-06-23 20:30:16 +02:00
64c3ed6db3 add performances and fix unary 2024-06-23 18:35:57 +02:00
Ahmad
e2937b13e5 Fixed TypedUnary Type 2024-06-23 17:15:51 +02:00
Ahmad
7b163baa13 Fixed typedMain method 2024-06-23 16:11:36 +02:00
simon
d0e2af5da6 add codeGen for Main-Method 2024-06-23 16:07:40 +02:00
JonathanFleischmann
9cda095a0b adapted to Implementation of main in TypedAST 2024-06-23 14:47:22 +02:00
JonathanFleischmann
f0ca5324d8 Merge branch 'refs/heads/main' into testsuites 2024-06-23 14:32:39 +02:00
JonathanFleischmann
c498215d91 implemented rest of needed testfiles 2024-06-23 14:05:22 +02:00
Ahmad
7b786ff19d Integrated the typedMethodMain in typed AST 2024-06-23 13:39:51 +02:00
simon
7b82840b3d add ByteCodeTestUtil 2024-06-22 22:29:51 +02:00
Ahmad
976312d5ae Merge remote-tracking branch 'origin/main' 2024-06-22 22:19:14 +02:00
Ahmad
ffaeb10b8b Corrected path to test package 2024-06-22 22:17:25 +02:00
JonathanFleischmann
e4f5bbbfa9 implemented some more test cases 2024-06-22 22:09:26 +02:00
JonathanFleischmann
59d0c97be3 translated most of test ASTs into TypedASTs 2024-06-22 19:36:39 +02:00
JonathanFleischmann
57c603c498 Merge branch 'refs/heads/main' into testsuites 2024-06-22 18:09:13 +02:00
5900736fff list missing parser tests in readme 2024-06-22 18:08:26 +02:00
JonathanFleischmann
67963b61b2 added testcase for Continue in TypedAST 2024-06-22 17:53:47 +02:00
JonathanFleischmann
032e965495 added headline for missing tests 2024-06-22 17:20:18 +02:00
JonathanFleischmann
fc7ca26f79 fixed Print test 2024-06-22 17:19:28 +02:00
JonathanFleischmann
81590c62c5 working on translating testfiles into AST and then into TypedAST 2024-06-22 17:16:10 +02:00
JonathanFleischmann
b3ce4b5ff8 Merge branch 'refs/heads/main' into testsuites 2024-06-22 16:51:17 +02:00
Ahmad
72733f4612 Fixed Scope Issue, local variables not accessible outsidte their block 2024-06-22 13:37:11 +02:00
Ahmad
24c01a3f34 Refactored typedClasses 2024-06-22 12:07:15 +02:00
JonathanFleischmann
bfef8ccff6 implemented tests for each feature (not complete) and added AST Expectation (not complete) 2024-06-16 21:09:14 +02:00
404Simon
ec5cb4b490 fix main method null check 2024-05-30 23:58:01 +02:00
404Simon
0b720eedcd fix main method null check 2024-05-30 23:57:34 +02:00
fd35b4583e Add mainmeth 2024-05-29 19:40:34 +02:00
Ahmad
73102c9897 Made a line code better to read 2024-05-21 14:56:04 +02:00
404Simon
d55217e85a add System out 2024-05-20 23:06:16 +02:00
JonathanFleischmann
09a327bdee adapted tests to new structure of ast 2024-05-20 23:01:00 +02:00
72647ffe70 remove print from test File 2024-05-20 22:42:01 +02:00
7d4aa26cbb Add Print as Statement 2024-05-20 22:38:44 +02:00
404Simon
4eb90f72ba add continue, mod and div 2024-05-20 22:16:52 +02:00
0eba601eff merged two parser versions 2024-05-20 22:08:38 +02:00
89f6d325a9 MOD, DIV support by Parser 2024-05-20 22:07:40 +02:00
f3436965a8 Merge remote-tracking branch 'origin/main' 2024-05-20 21:57:36 +02:00
185738d1d1 Add Continue as Statement 2024-05-20 21:57:13 +02:00
7b53346580 Merge branch 'main' of https://github.com/JonathanFleischmann/CompilerULTIMATE 2024-05-20 21:50:15 +02:00