Commit Graph

290 Commits

Author SHA1 Message Date
903f9e8d4e Fix ClassCanBeTyped 2024-05-09 17:52:48 +02:00
Ahmad
5f6ca52acb add the override method 2024-05-09 16:17:09 +02:00
Ahmad
054df55da3 handle merge 2024-05-09 16:13:15 +02:00
Ahmad
2b6a5277b5 add a minjava code what can be typed right now 2024-05-09 16:04:51 +02:00
Ahmad
b8f132d9da resolve the error 2024-05-09 16:00:54 +02:00
Ahmad
ba7b23bd34 Implemented typedblock (some statements and expressions) and add some TODOs 2024-05-09 15:59:28 +02:00
Ahmad
f502e58e6e add new class TypedFieldVarAccess and implement required methods of it 2024-05-09 15:56:53 +02:00
Ahmad
a16ee38ce8 update the TypedMethod 2024-05-09 15:56:13 +02:00
Ahmad
85171ce95d add method converToTypedDoWhile to TypedDoWhile class 2024-05-09 15:55:19 +02:00
Ahmad
b5a82f3761 renamed the methods in TypedConstructor and implement the typeCheck of it 2024-05-09 15:54:19 +02:00
Ahmad
8d72f0ff1b correct the implementation of converToTypedAST in typedclass 2024-05-09 15:52:33 +02:00
Ahmad
65dd9152f0 Add a new method to each class in TypedAST package and implement it 2024-05-09 15:51:31 +02:00
Ahmad
37950dee82 Add a help class "TypedExpressionUtil" 2024-05-09 15:45:46 +02:00
Ahmad
f329ad6c59 Added TODOs 2024-05-09 15:43:28 +02:00
404Simon
9246550a3e more codeGen 2024-05-09 13:30:50 +02:00
404Simon
f617061dab Merge remote-tracking branch 'origin/main' 2024-05-09 00:11:20 +02:00
404Simon
60b835d1bb wip localvars 2024-05-09 00:11:04 +02:00
JonathanFleischmann
4d58a4b1f2 wrote tests for ScannerAndParser and more 2024-05-09 00:10:23 +02:00
bbfdbd51dc Ids are gotten explicitly from the IDENTIFIER 2024-05-08 23:57:44 +02:00
dbca4ac327 Merge branch 'main' of https://github.com/JonathanFleischmann/CompilerULTIMATE 2024-05-08 23:54:56 +02:00
379bfe7201 fixed nested IDs showing this. along their name 2024-05-08 23:54:52 +02:00
404Simon
5676fb31de refactor methodcontext 2024-05-08 23:21:09 +02:00
871447b9df Merge branch 'main' of https://github.com/JonathanFleischmann/CompilerULTIMATE 2024-05-08 23:12:17 +02:00
03401434d5 Parser ignores Comments 2024-05-08 23:12:13 +02:00
918acef610 Add Bytecodegenerator for LocalVariable 2024-05-08 22:16:09 +02:00
Ahmad
dea4ba1808 handling merge 2024-05-08 20:54:11 +02:00
Ahmad
b54b2616e0 add initialisation in method 2024-05-08 20:33:58 +02:00
ff04359d25 Merge branch 'main' of https://github.com/JonathanFleischmann/CompilerULTIMATE 2024-05-08 20:33:25 +02:00
a3adb5d62d added returnVoid back in 2024-05-08 20:33:20 +02:00
Ahmad
db646c3399 Implemented the statements in TypedBlock 2024-05-08 20:26:09 +02:00
Ahmad
622a0951f3 Updated the method converToTypedAST 2024-05-08 16:30:52 +02:00
Ahmad
81d1cf6ca8 fix error 2024-05-08 16:06:20 +02:00
Ahmad
bfcbb4dc2d Updated convertToTypedAST of TypedConstructor 2024-05-08 16:05:32 +02:00
Ahmad
cdfb914816 Handling marge 2024-05-08 15:55:17 +02:00
Ahmad
9d35956735 Add initialisition 2024-05-08 15:51:56 +02:00
JonathanFleischmann
4b071ea149 empty class now working 2024-05-08 15:51:25 +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