Victorious3
43e8837308
Simplify tests by adding BoundsChain
2023-01-17 12:42:20 +01:00
luca9913
c78a148766
Alternativ-labels in grammatik & neuen ast-generator auf basis von antlr visitor
2023-01-17 06:38:00 +01:00
luca9913
cb564dc436
Beginn anpassung SyntaxTreeGenerator an neue Grammatik
2023-01-17 06:37:07 +01:00
luca9913
6d52949215
Anpassungen der Grammatikregeln übernommen
2023-01-17 06:34:39 +01:00
pl@gohorb.ba-horb.de
f0f3a91e27
Constraints fuer Generated Generics erzeugt und schreibt diese als Attribute methCallargTypesRetType in den Klassen TYPE, TypeStmt und JavaTXCompiler
...
modified: src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java
modified: src/main/java/de/dhbwstuttgart/typeinference/constraints/Constraint.java
modified: src/main/java/de/dhbwstuttgart/typeinference/typeAlgo/TYPE.java
modified: src/main/java/de/dhbwstuttgart/typeinference/typeAlgo/TYPEStmt.java
2023-01-11 18:51:55 +01:00
Victorious3
7aa7f94110
Add user defined generics to methods
2023-01-10 16:06:57 +01:00
Vic Nightfall
96ffc12ebc
Merge with bigRefactoring
2023-01-04 16:07:48 +01:00
Vic Nightfall
f3e7fc0dc3
Test generics
2023-01-04 15:46:25 +01:00
Vic Nightfall
9f27d0d0fa
Work on the generics tests
2022-12-06 17:44:39 +01:00
luca9913
a7dc943692
Merge remote-tracking branch 'origin/bigRefactoring' into patternMatching
2022-12-04 21:20:09 +01:00
luca9913
4b6d69d748
Antlr-Grammatik angepasst, um syntaxtree-Klassen zu matchen
2022-12-04 21:17:39 +01:00
luca9913
1145f010c6
Referenzen auf Parser-Klassen von Java8 zu Java17 umbenannt
2022-12-04 21:15:36 +01:00
luca9913
d89e414ca7
Alte Java8- durch neue Java17-Grammatik ersetzt
2022-12-03 22:54:22 +01:00
luca9913
58cd490639
rootDirectory GeneralParserTest, dep. Klasse JavaTXParser
2022-12-01 22:20:39 +01:00
Andreas Stadelmeier
f444003aee
Merge branch 'patternMatching' into bigRefactoring
2022-11-28 13:53:39 +01:00
Andreas Stadelmeier
b41680dc84
Merge with targetBytecode, Set language level to Java 19 + preview-features
2022-11-28 13:38:31 +01:00
Vic Nightfall
b63d1bcf73
Fix FunNGenerator
2022-11-27 13:22:47 +01:00
Vic Nightfall
8806d1462c
Fix FunNGenerator using the wrong string
2022-11-27 12:57:47 +01:00
luca9913
df3e2b55f9
Grammatik-Regeln für "instanceof-PatternMatching" eingefügt
2022-11-24 22:33:23 +01:00
Vic Nightfall
dbd5311d93
Fix the build by reinstating old classes
2022-11-23 21:35:33 +01:00
luca9913
09ac2fc5cf
Neue Grammatik-Regeln und daraus resultierende bugfixes
2022-11-22 21:44:13 +01:00
Andreas Stadelmeier
00c8f41671
Change pom.xml: Clean up, Set java version to 17, Antlr4 plugin uses standard source directory. Project changes: move /test/resources to /resources
2022-11-15 16:21:09 +01:00
Vic Nightfall
84cb7d871b
Move package
2022-11-14 15:55:40 +01:00
Vic Nightfall
83b735716f
Convert FunNGenerator to class with static methods instead of using a singleton
2022-11-14 15:44:31 +01:00
Vic Nightfall
15e94111d4
Rework FunNGenerator to use target types
2022-11-14 15:28:00 +01:00
Vic Nightfall
9d942a7014
Start replacing the code generator
2022-11-13 19:03:54 +01:00
Vic Nightfall
aa156b793f
Generate proper FunN types
2022-11-13 17:05:14 +01:00
Vic Nightfall
be1c356a9f
Don't drop wildcards
2022-11-13 14:38:21 +01:00
Victorious3
4307371dee
Box test
2022-11-13 13:47:24 +01:00
Andreas Stadelmeier
8f7becd62d
Fix for Bug 230
2022-10-03 10:08:50 +02:00
Victorious3
b4e1be0fb7
Fix some type conversions
2022-10-02 18:27:41 +02:00
Victorious3
a660d7a295
Remove bounds with Object when more concrete bounds are added
2022-09-22 22:01:28 +02:00
pl@gohorb.ba-horb.de
33e9b87562
Der Returntyp des Konstruktors wurde mit TypePlaceholders als Parameter bestimmt.
...
Korrigiert: TypePlaceholders durch GenericRefType ersetzt
modified: ../../../../main/java/de/dhbwstuttgart/syntaxtree/ClassOrInterface.java
Methode generateTypeOfThisClass eingefuegt. Macht aus der atuellen Klasse den zugehoerigen RefType
In getConstructors in new MethodAssumption den ofType-Parameter (Typeplaceholders) durch cl.generateTypeOfThisClass()
ersetzt. Dadurch werden GenericRefType in den Typ eingefuegt.
2022-09-18 00:19:20 +02:00
Victorious3
5503f3723c
Fix Tph2
2022-08-26 17:21:23 +02:00
Victorious3
b0c1d5d96d
Remove duplicate type variables
2022-08-26 16:05:59 +02:00
Victorious3
6fb329ae1a
Initialize local variables to null
2022-08-26 15:13:48 +02:00
Victorious3
45b80bb6c5
Don't change the constraints anymore
2022-08-26 14:55:03 +02:00
Victorious3
edf85dca7f
Fix Tph4-6
2022-08-09 12:59:23 +02:00
Victorious3
f36f981ca8
Lambda captures
2022-08-08 14:50:43 +02:00
Victorious3
bca02137a6
Fix method calls in matrixOp
2022-08-07 20:09:57 +02:00
Victorious3
4e6e8c5cc7
Add Tph7 test.
2022-08-05 16:20:30 +02:00
Victorious3
c21104f646
Find functions in class files and primitive types
2022-08-02 18:10:52 +02:00
Victorious3
6e1786ec7c
Test cases and some fixes
2022-07-13 14:38:17 +02:00
Victorious3
699155e21a
Equalize type variables in covariant and contravariant position
2022-07-03 19:24:54 +02:00
Victorious3
de417d3ee6
Remove inner type variables
2022-07-03 18:10:40 +02:00
Victorious3
ef06a8de38
Actually replace instead of removing pairs
2022-07-03 15:25:35 +02:00
Victorious3
560f0c5a6f
Filter out cycles and infima
2022-07-03 15:17:12 +02:00
Victorious3
b43afd40ee
Decouple Sigma from Target
2022-07-02 15:57:33 +02:00
Victorious3
a8be387dd9
Add generics to the generated class file
2022-06-23 20:39:34 +02:00
Victorious3
7e259e2597
Mostly finish up populating generics
2022-06-23 18:52:30 +02:00