2722 Commits

Author SHA1 Message Date
45275b6888 Merge pull request 'Fix ' () from sealedInterfacesFix into patternMatching
Reviewed-on: 
2025-02-12 14:19:58 +00:00
2144dd9341 Working on patterns, grouping is functional now 2025-02-05 17:09:31 +01:00
69c2bb3dc9 Work on the right grouping, looking pretty good so far 2025-02-04 17:19:08 +01:00
3a57d5e025 Left uncommitted 2025-01-31 16:04:22 +01:00
julian
1e37538fde Fix 2025-01-26 16:18:38 +01:00
4cdd5d016c Work on pattern matching 2025-01-16 16:52:26 +01:00
4318856fa8 Fix lookup 2024-12-12 14:21:23 +01:00
1ace099d72 Undo 2024-12-12 14:06:33 +01:00
b76e1e46f0 Make the example fail 2024-12-11 13:29:14 +01:00
09c483542d Change grouping, doesnt work yet 2024-12-09 16:53:32 +01:00
77411973be Fix generics 2024-12-04 13:57:55 +01:00
d0d9c46a67 Work on constraints for parameters of generic records 2024-12-04 12:22:26 +01:00
Ruben
24bf3d350f feat: add Generic Resolver for Records 2024-11-29 13:50:09 +01:00
b9f9994de3 toString() doesn't return the class name, see 2024-11-27 12:57:58 +01:00
pl@gohorb.ba-horb.de
f0287c4611 modified: resources/AllgemeinTest/Box.jav
modified:   src/test/java/AllgemeinTest.java
2024-11-25 15:46:14 +01:00
pl@gohorb.ba-horb.de
edf609f916 Merge branch 'patternMatching' of ssh://gitea.hb.dhbw-stuttgart.de:2222/JavaTX/JavaCompilerCore into patternMatching 2024-11-24 08:15:12 +01:00
pl@gohorb.ba-horb.de
14e2af7d2a modified: resources/AllgemeinTest/Box.jav
modified:   src/test/java/AllgemeinTest.java
2024-11-24 08:15:01 +01:00
pl@gohorb.ba-horb.de
158adf837a modified: resources/bytecode/javFiles/PatternMatchingListAppend.jav 2024-11-21 14:55:52 +01:00
46b378e3a5 Fix value matching and add new test case 2024-11-21 14:31:18 +01:00
484a70c15c Fix test case 2024-11-20 17:22:05 +01:00
c461e89336 Try to use 22 for test, might fail 2024-11-20 17:03:37 +01:00
f846142ee1 Add broken value matching 2024-11-20 14:44:10 +01:00
443b8b0c09 Test nested record matching, thankfully switch does the heavy lifting, fixes 2024-11-20 13:17:10 +01:00
ff715a22cf Filter out duplicate patterns 2024-11-20 11:37:50 +01:00
170955b333 More complex overloading for switch 2024-11-19 15:19:40 +01:00
88d81f4af7 Work on overloading 2024-11-19 13:32:55 +01:00
bb11d24101 First implementation of generating a bridge method 2024-11-11 15:47:38 +01:00
e2bf09548f Rename test file and some work on the overloading behavior 2024-11-07 17:04:43 +01:00
c33e372446 feat: change Test-Case 2024-10-25 15:58:18 +02:00
pl@gohorb.ba-horb.de
7c546834c0 modified: resources/bytecode/javFiles/PaternMatchingHaskellStyle.jav
modified:   src/main/java/de/dhbwstuttgart/parser/SyntaxTreeGenerator/StatementGenerator.java
	modified:   src/test/java/TestComplete.java
2024-10-25 15:31:48 +02:00
aa61f90fb1 feat: add Example for HaskellStyle Pattern Matching 2024-10-25 14:04:50 +02:00
b4da20e1d4 feat: add Example for HaskellStyle Pattern Matching 2024-10-25 14:04:03 +02:00
4d1950d0ba feat: add Example for HaskellStyle Pattern Matching 2024-10-25 12:06:23 +02:00
pl@gohorb.ba-horb.de
cc204f659a modified: resources/bytecode/javFiles/PaternMatchingHaskellStyle.jav 2024-10-25 11:12:46 +02:00
pl@gohorb.ba-horb.de
5893338783 new file: resources/bytecode/javFiles/PaternMatchingHaskellStyle.jav 2024-10-25 11:10:00 +02:00
e1e744152a Fix overloading considering too many options, fix 2024-10-11 14:13:55 +02:00
Ruben
fc22299af5 feat: add Literal in Records and LPattern for Syntaxtreegenerator 2024-10-09 17:01:28 +02:00
7811ecce63 Fix non chainable parts in dotted expression 2024-10-04 16:41:05 +02:00
44754e73ac Remove left over example code 2024-10-04 15:05:46 +02:00
Ruben
6ee308a712 feat: add Constraints for Records in Parameterlist 2024-10-02 17:06:30 +02:00
85d70378ca Merge branch 'patternMatching' of ssh://gitea.hb.dhbw-stuttgart.de:2222/JavaTX/JavaCompilerCore into patternMatching 2024-10-02 15:09:25 +02:00
89bbbdacd8 Work on pattern matching in function headers 2024-10-02 15:09:19 +02:00
Ruben
fbde5afb1b feat: changes on Grammar for literals in Records 2024-10-02 15:02:08 +02:00
6ccf2a3df6 Add overloading for switches, see 2024-10-01 17:28:20 +02:00
b7979ac7e7 Fix tests 2024-09-26 11:31:24 +02:00
Ruben
9ede47c2d6 feat: add Constraint for Default-Case 2024-09-20 18:02:53 +02:00
Ruben
406f98e55d feat: add Constraint for Default-Case 2024-09-20 18:02:13 +02:00
pl@gohorb.ba-horb.de
a9d836ce25 modified: src/main/java/de/dhbwstuttgart/parser/SyntaxTreeGenerator/StatementGenerator.java
modified:   src/main/java/de/dhbwstuttgart/parser/SyntaxTreeGenerator/SyntaxTreeGenerator.java
2024-09-19 17:43:23 +02:00
pl@gohorb.ba-horb.de
fd8a66dd59 Variance und wildcardable in die Syntaxtree-Generierung verschoben
modified:   src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java
	modified:   src/main/java/de/dhbwstuttgart/parser/SyntaxTreeGenerator/StatementGenerator.java
	modified:   src/main/java/de/dhbwstuttgart/parser/SyntaxTreeGenerator/SyntaxTreeGenerator.java
	modified:   src/main/java/de/dhbwstuttgart/syntaxtree/factory/UnifyTypeFactory.java
	modified:   src/main/java/de/dhbwstuttgart/syntaxtree/type/TypePlaceholder.java
	modified:   src/main/java/de/dhbwstuttgart/typeinference/typeAlgo/TYPEStmt.java
	modified:   src/main/java/de/dhbwstuttgart/typeinference/unify/model/PlaceholderType.java
	modified:   src/test/java/TestComplete.java
2024-09-19 17:22:51 +02:00
Ruben
929392b7d4 refactor: enhanced Constraint-Genereation 2024-09-18 14:06:52 +02:00