Commit Graph

105 Commits

Author SHA1 Message Date
a3adb5d62d added returnVoid back in 2024-05-08 20:33:20 +02:00
JonathanFleischmann
8c1ae8712e Merge branch 'refs/heads/main' into testsuites 2024-05-08 15:35:08 +02:00
JonathanFleischmann
48e0ebf521 adapted abstract syntax test files to new ast 2024-05-08 15:34:50 +02:00
Ahmad
b0fea68f05 Handling Merge 2024-05-08 15:19:03 +02:00
Ahmad
4a5aba765d Handling Merge 2024-05-08 15:13:38 +02:00
d95ffb4cfc new generators 2024-05-08 15:05:35 +02:00
Ahmad
45f834722b Implementation for testing 2024-05-08 15:05:04 +02:00
4c34a8db44 removed ast.Type in favor of typedast.Type 2024-05-08 15:00:46 +02:00
5d44fc661f removed main method from ast, constructors are always public 2024-05-08 14:53:01 +02:00
300b4a5e9b Merge branch 'main' of https://github.com/JonathanFleischmann/CompilerULTIMATE 2024-05-08 14:27:57 +02:00
0ac708c8ae changes to AST: id is gone, Declaration is one thing, renaming. only one Type 2024-05-08 14:27:51 +02:00
JonathanFleischmann
587d95f546 adapted abstract syntax test files to new ast 2024-05-08 14:10:48 +02:00
0163f5c0b6 fixed compile error 2024-05-08 11:47:56 +02:00
13043a196e merged changes 2024-05-08 11:46:18 +02:00
f816e5c391 left part of an assignement can be a FieldId 2024-05-08 11:44:15 +02:00
Ahmad
6e62b0c21c Handling Merge 2024-05-08 11:30:57 +02:00
Ahmad
a2efa0fa58 fix error 2024-05-08 11:29:43 +02:00
e25aa61834 Merge remote-tracking branch 'origin/main' 2024-05-08 11:29:11 +02:00
8d58ac0a08 Fix numbers in variable names 2024-05-08 11:28:52 +02:00
JonathanFleischmann
f21db82d4c Merge remote-tracking branch 'origin/main' 2024-05-08 11:28:25 +02:00
Ahmad
3ca5a1a6be Handling Merge of Joni 2024-05-08 11:28:06 +02:00
JonathanFleischmann
ce711b3a27 implemented new methods in Compiler 2024-05-08 11:27:54 +02:00
Ahmad
591dee0d48 Deleted TypedId class not required in typedastg 2024-05-08 11:24:34 +02:00
d35aadf36c Add Exception Messages 2024-05-08 11:16:29 +02:00
JonathanFleischmann
388fddd466 Merge branch 'refs/heads/main' into testsuites 2024-05-08 11:12:16 +02:00
JonathanFleischmann
9730455b50 adapted testfiles to new ast and commented code with issues out 2024-05-08 11:11:51 +02:00
7d1b7bc5b0 fixed compilation errors 2024-05-08 11:05:27 +02:00
c3cd7a7015 merged type changes and assign changes 2024-05-08 11:03:26 +02:00
Ahmad
6c1030f888 fixed the error in TypedAssignment 2024-05-08 11:01:44 +02:00
Ahmad
70d933a398 Handling Merge 2024-05-08 10:59:51 +02:00
ea05590c5a solved synthetic shugar of += in parser 2024-05-08 10:52:05 +02:00
Ahmad
201d6e03b9 Added the implementationf of typeCheck in typedAssignment 2024-05-08 10:51:58 +02:00
404Simon
98d899e026 seperate classfile generation from codegen 2024-05-08 10:49:41 +02:00
404Simon
debbea7736 Merge remote-tracking branch 'origin/main' 2024-05-08 10:41:24 +02:00
404Simon
dbbb181ba5 add prerequisites for method block codegen 2024-05-08 10:41:01 +02:00
6f6edbd4b3 generated new Visitor 2024-05-08 10:14:49 +02:00
258819d70f Merge branch 'main' of https://github.com/JonathanFleischmann/CompilerULTIMATE 2024-05-08 10:08:52 +02:00
f97f3a3b3a remove continue 2024-05-08 10:08:29 +02:00
25d539cf49 no programm, forced public in classes and method 2024-05-08 10:08:28 +02:00
404Simon
b61af71076 rename interfaces in typed ast to Typed$(oldName) 2024-05-07 23:41:30 +02:00
404Simon
e915f1817d refactor and alter example 2024-05-07 22:02:47 +02:00
404Simon
a7eedbe98d generate code for fields and constructor (without block tho) 2024-05-07 21:44:13 +02:00
a2fc1686b1 Merge branch 'main' of https://github.com/JonathanFleischmann/CompilerULTIMATE 2024-05-07 20:30:11 +02:00
ee0a465c84 assign has it's own rule 2024-05-07 20:30:03 +02:00
JonathanFleischmann
7d298069cb Merge branch 'refs/heads/main' into testsuites 2024-05-07 20:28:15 +02:00
JonathanFleischmann
509fb6213e fixed small error in abstract Syntax for testfiles 2024-05-07 20:28:00 +02:00
ahmad
32de224ac8 Updated the typedast 2024-05-07 18:52:39 +02:00
JonathanFleischmann
4ef3e6ff11 fixed small error in abstract Syntax for testfiles 2024-05-07 18:22:16 +02:00
JonathanFleischmann
40b17bf2b8 wrote abstract Syntax for testfiles 2024-05-07 18:15:31 +02:00
JonathanFleischmann
ad2da98a34 Merge remote-tracking branch 'origin/testsuites' into testsuites 2024-05-07 15:54:27 +02:00