Commit Graph

333 Commits

Author SHA1 Message Date
ahmad
92c08ac3de Refactored TypedAST and added a new exception type 2024-07-05 09:40:19 +02:00
ahmad
976f9c2ba6 Refactored TypedAST and removed imports with star * 2024-07-05 02:15:48 +02:00
ahmad
ecd0b801c7 Outsourced the Exceptions in TypedAst 2024-07-05 02:02:43 +02:00
ahmad
6af67326f1 Checked parameters on null 2024-07-05 01:03:58 +02:00
ahmad
8a2b54d3f4 Fixing bugs 2024-07-05 00:41:10 +02:00
simon
ff248d357a add more examples to commandline footer 2024-07-04 16:39:16 +02:00
simon
68e1f59ccc add wildcard support from commandline 2024-07-04 16:30:39 +02:00
simon
e4d3f1a141 make commandline menu nicer 2024-07-04 16:14:48 +02:00
ahmad
a80a828dbf Refactored TypedAST and changed visibility of methods 2024-07-03 23:27:34 +02:00
simon
8f67d73bca make logging and commandline access to debug mode nicer 2024-07-03 22:42:07 +02:00
a77fa439a7 stop program when there are errors in parser 2024-07-03 22:12:19 +02:00
e23ec8ad82 collect parser errors 2024-07-03 21:56:47 +02:00
a5d13fd2a9 Merge branch 'main' of https://github.com/JonathanFleischmann/CompilerULTIMATE 2024-07-02 17:18:33 +02:00
1517fa95d0 enable i++ and i-- 2024-07-02 17:13:42 +02:00
ahmad
c71ecd6200 Refactored the name of package help 2024-07-01 20:21:31 +02:00
ahmad
ad770213d3 Fixed error of constructor which is not named like class name 2024-07-01 19:13:56 +02:00
ahmad
de9365d5c9 Merge branch 'main' into testsuites 2024-07-01 18:39:56 +02:00
simon
a7760df684 only accept DEBUG=true 2024-07-01 18:18:09 +02:00
ahmad
d0b98054a5 Fixed error in TypedBinary 2024-06-30 23:28:30 +02:00
b8bb09207b Merge branch 'main' into ParserExceptions 2024-06-30 22:59:15 +02:00
245dc147ec add custom error listener 2024-06-30 22:38:20 +02:00
JonathanFleischmann
6afc588d2a rolled back wrong changes 2024-06-30 22:14: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
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
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
simon
354502cc20 fix AND Logical Operation 2024-06-28 21:57:19 +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
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
simon
c823894eb2 fix problem with new 2024-06-27 21:43:13 +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
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