Commit Graph

  • 007d55ea3f modified: resources/AllgemeinTest/Box.jav modified: resources/bytecode/javFiles/Matrix.jav modified: src/test/java/AllgemeinTest.java patternMatchingTmp pl@gohorb.ba-horb.de 2025-05-15 18:04:32 +02:00
  • 1391206dfe Merge branch 'master' of ssh://gitea.hb.dhbw-stuttgart.de:2222/JavaTX/JavaCompilerCore master Daniel Holle 2025-05-15 15:31:17 +02:00
  • 659bf6b500 Fix warnings in test by using correct order of arguments Daniel Holle 2025-05-15 15:31:05 +02:00
  • 7b915df43d Exception type not gets resolved with classpath tryCatch i21023 2025-05-14 13:57:31 +02:00
  • 42e31a3471 Merge branch 'master' into LSP-Interface LSP-Interface Ruben 2025-05-13 16:01:20 +02:00
  • d3b3f92193 feat: make dir when /out does not exist Ruben 2025-05-12 18:57:46 +02:00
  • 8208abcaea fix: exclude Files that do not end on .jav Ruben 2025-05-12 18:43:10 +02:00
  • ccfd9a65b8 hopefully fix classloader to scan classpath i21023 2025-05-12 15:31:53 +02:00
  • 9c675ee860 add basic implementation for try catch blocks. still need to resolve dependencies in classpath i21023 2025-05-12 15:31:28 +02:00
  • e4a3939ce9 test: change TEstnames Ruben 2025-05-09 14:11:39 +02:00
  • d903ec0ebb test: change TEstnames Ruben 2025-05-09 14:11:11 +02:00
  • 61de81cf92 feat: compile all classes in workspace Ruben 2025-05-08 19:00:12 +02:00
  • 59888006e0 feat: compile all classes in workspace Ruben 2025-05-08 18:51:25 +02:00
  • 94034912b4 feat: clean out file when generating Bytecode Ruben 2025-05-08 17:51:17 +02:00
  • f303163118 feat: clean out file when generating Bytecode Ruben 2025-05-08 17:10:35 +02:00
  • 7d99fba044 fix: update Interface for Language Server to not throw random Errors anymore Ruben 2025-05-07 18:53:47 +02:00
  • 3740d34954 fix: create Path if its non existent and add Try-Catch Clause when deleting Files in Case they dont exist Ruben 2025-05-06 15:31:27 +02:00
  • d8b861ea95 feat: add Method in Interface to generate Bytecode Ruben 2025-05-06 15:10:55 +02:00
  • 33ed22c06a Update java version Daniel Holle 2025-05-06 12:00:57 +00:00
  • 70f7857661 Ignore tests that aren't working Daniel Holle 2025-05-06 13:51:08 +02:00
  • 15926e8e18 add syntax tree structure for try-catch-finally-blocks i21023 2025-05-06 13:09:06 +02:00
  • cf45ea68bd feat: include Bytecode in /out Folder Ruben 2025-05-05 17:26:10 +02:00
  • be72e4d7fb feat: add Compiler Interface Ruben 2025-05-05 14:34:23 +02:00
  • 45275b6888 Merge pull request 'Fix ' () from sealedInterfacesFix into patternMatching patternMatching Daniel Holle 2025-02-12 14:19:58 +00:00
  • 2144dd9341 Working on patterns, grouping is functional now Daniel Holle 2025-02-05 17:09:31 +01:00
  • 69c2bb3dc9 Work on the right grouping, looking pretty good so far Daniel Holle 2025-02-04 17:19:08 +01:00
  • 3a57d5e025 Left uncommitted Daniel Holle 2025-01-31 16:04:22 +01:00
  • 1e37538fde Fix #357 sealedInterfacesFix julian 2025-01-26 16:18:38 +01:00
  • 4cdd5d016c Work on pattern matching Daniel Holle 2025-01-16 16:52:26 +01:00
  • 4318856fa8 Fix lookup Daniel Holle 2024-12-12 14:21:23 +01:00
  • 1ace099d72 Undo Daniel Holle 2024-12-12 14:06:33 +01:00
  • b76e1e46f0 Make the example fail Daniel Holle 2024-12-11 13:29:14 +01:00
  • 09c483542d Change grouping, doesnt work yet Daniel Holle 2024-12-09 16:53:32 +01:00
  • 77411973be Fix generics Daniel Holle 2024-12-04 13:57:55 +01:00
  • d0d9c46a67 Work on constraints for parameters of generic records Daniel Holle 2024-12-04 12:22:26 +01:00
  • 24bf3d350f feat: add Generic Resolver for Records Ruben 2024-11-29 13:50:09 +01:00
  • b9f9994de3 toString() doesn't return the class name, see Daniel Holle 2024-11-27 12:57:58 +01:00
  • f0287c4611 modified: resources/AllgemeinTest/Box.jav modified: src/test/java/AllgemeinTest.java pl@gohorb.ba-horb.de 2024-11-25 15:46:14 +01:00
  • edf609f916 Merge branch 'patternMatching' of ssh://gitea.hb.dhbw-stuttgart.de:2222/JavaTX/JavaCompilerCore into patternMatching pl@gohorb.ba-horb.de 2024-11-24 08:15:12 +01:00
  • 14e2af7d2a modified: resources/AllgemeinTest/Box.jav modified: src/test/java/AllgemeinTest.java pl@gohorb.ba-horb.de 2024-11-24 08:15:01 +01:00
  • 158adf837a modified: resources/bytecode/javFiles/PatternMatchingListAppend.jav pl@gohorb.ba-horb.de 2024-11-21 14:55:52 +01:00
  • 46b378e3a5 Fix value matching and add new test case Daniel Holle 2024-11-21 14:31:18 +01:00
  • 484a70c15c Fix test case Daniel Holle 2024-11-20 17:22:05 +01:00
  • c461e89336 Try to use 22 for test, might fail Daniel Holle 2024-11-20 17:03:37 +01:00
  • f846142ee1 Add broken value matching Daniel Holle 2024-11-20 14:44:10 +01:00
  • 443b8b0c09 Test nested record matching, thankfully switch does the heavy lifting, fixes Daniel Holle 2024-11-20 13:17:10 +01:00
  • ff715a22cf Filter out duplicate patterns Daniel Holle 2024-11-20 11:37:50 +01:00
  • 170955b333 More complex overloading for switch Daniel Holle 2024-11-19 15:19:40 +01:00
  • 88d81f4af7 Work on overloading Daniel Holle 2024-11-19 13:32:55 +01:00
  • bb11d24101 First implementation of generating a bridge method Daniel Holle 2024-11-11 15:47:38 +01:00
  • e2bf09548f Rename test file and some work on the overloading behavior Daniel Holle 2024-11-07 17:04:43 +01:00
  • c33e372446 feat: change Test-Case Ruben 2024-10-25 15:58:18 +02:00
  • 7c546834c0 modified: resources/bytecode/javFiles/PaternMatchingHaskellStyle.jav modified: src/main/java/de/dhbwstuttgart/parser/SyntaxTreeGenerator/StatementGenerator.java modified: src/test/java/TestComplete.java pl@gohorb.ba-horb.de 2024-10-25 15:31:48 +02:00
  • aa61f90fb1 feat: add Example for HaskellStyle Pattern Matching Ruben 2024-10-25 14:04:50 +02:00
  • b4da20e1d4 feat: add Example for HaskellStyle Pattern Matching Ruben 2024-10-25 14:04:03 +02:00
  • 4d1950d0ba feat: add Example for HaskellStyle Pattern Matching Ruben 2024-10-25 12:06:23 +02:00
  • cc204f659a modified: resources/bytecode/javFiles/PaternMatchingHaskellStyle.jav pl@gohorb.ba-horb.de 2024-10-25 11:12:46 +02:00
  • 5893338783 new file: resources/bytecode/javFiles/PaternMatchingHaskellStyle.jav pl@gohorb.ba-horb.de 2024-10-25 11:10:00 +02:00
  • e1e744152a Fix overloading considering too many options, fix Daniel Holle 2024-10-11 14:13:55 +02:00
  • fc22299af5 feat: add Literal in Records and LPattern for Syntaxtreegenerator Ruben 2024-10-09 17:01:28 +02:00
  • 7811ecce63 Fix non chainable parts in dotted expression Daniel Holle 2024-10-04 16:41:05 +02:00
  • 44754e73ac Remove left over example code Daniel Holle 2024-10-04 15:05:46 +02:00
  • 6ee308a712 feat: add Constraints for Records in Parameterlist Ruben 2024-10-02 17:06:30 +02:00
  • 85d70378ca Merge branch 'patternMatching' of ssh://gitea.hb.dhbw-stuttgart.de:2222/JavaTX/JavaCompilerCore into patternMatching Daniel Holle 2024-10-02 15:09:25 +02:00
  • 89bbbdacd8 Work on pattern matching in function headers Daniel Holle 2024-10-02 15:09:19 +02:00
  • fbde5afb1b feat: changes on Grammar for literals in Records Ruben 2024-10-02 15:02:08 +02:00
  • 6ccf2a3df6 Add overloading for switches, see Daniel Holle 2024-10-01 17:28:20 +02:00
  • b7979ac7e7 Fix tests Daniel Holle 2024-09-26 11:31:24 +02:00
  • 9ede47c2d6 feat: add Constraint for Default-Case Ruben 2024-09-20 18:02:53 +02:00
  • 406f98e55d feat: add Constraint for Default-Case Ruben 2024-09-20 18:02:13 +02:00
  • a9d836ce25 modified: src/main/java/de/dhbwstuttgart/parser/SyntaxTreeGenerator/StatementGenerator.java modified: src/main/java/de/dhbwstuttgart/parser/SyntaxTreeGenerator/SyntaxTreeGenerator.java pl@gohorb.ba-horb.de 2024-09-19 17:43:23 +02:00
  • 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 pl@gohorb.ba-horb.de 2024-09-19 17:22:51 +02:00
  • 929392b7d4 refactor: enhanced Constraint-Genereation Ruben 2024-09-18 14:06:52 +02:00
  • f57c8aa5a9 feat: add Constraints Ruben 2024-09-18 14:03:36 +02:00
  • daa38183fa feat: adding Covariance for Switch Ruben 2024-09-18 13:54:01 +02:00
  • eb454aa5b2 Add check for sealed interfaces Daniel Holle 2024-09-13 14:23:03 +02:00
  • 72035c48f2 Update dependencies Daniel Holle 2024-09-12 14:42:09 +02:00
  • 54f258e333 Default throws Daniel Holle 2024-09-12 14:36:26 +02:00
  • 114de0b236 refactor + test: removed comments and fixed Test-Assertion Ruben 2024-09-04 11:03:11 +02:00
  • 8f094eb025 refactor: refactoring Ruben 2024-09-04 10:42:11 +02:00
  • 3ac3af2327 test: add Test for Switch-Case with generic Records. Ruben 2024-09-02 19:15:53 +02:00
  • fbc9f1e755 Fix bugs and add new example dholle 2024-08-22 15:13:25 +02:00
  • 94c359f7a1 test & feat: recursive Method-Call for nested Constraint-Generation Patterns in Records and added Linked-List Testcase. Ruben 2024-08-20 19:52:55 +02:00
  • 4085c62231 Remove --enable-preview from pom.xml newConstraints Andreas Stadelmeier 2024-08-15 15:25:59 +02:00
  • 8421023ea8 Set to Java 21 Andreas Stadelmeier 2024-08-15 15:23:06 +02:00
  • 3be557a32b Merge branch 'targetBytecode' into patternMatching Ruben 2024-08-11 19:57:07 +02:00
  • 852659dce6 Set Java Version to 21 JanUlrich 2024-08-08 12:32:07 +02:00
  • 7012eb1d86 Remove jav-files Daniel Holle 2024-08-07 17:07:53 +02:00
  • 7f1578a5b7 Fix build Daniel Holle 2024-08-07 17:02:27 +02:00
  • d176dfb1e3 Remove tests Daniel Holle 2024-08-07 16:51:46 +02:00
  • 494ce63838 Remove everything that doesn't touch constraints Daniel Holle 2024-08-07 16:40:06 +02:00
  • 9801f8a5ae Merge branch 'targetBytecode' of ssh://gitea.hb.dhbw-stuttgart.de:2221/JavaTX/JavaCompilerCore into targetBytecode targetBytecode Daniel Holle 2024-08-07 13:34:03 +02:00
  • f0b9bea23e Fix (le null check) Daniel Holle 2024-08-07 13:33:40 +02:00
  • 96eb504174 test & fix: add Testcase for Heritage-detection and removed unnecessary creation of Constraints. Ruben 2024-08-06 18:44:52 +02:00
  • ce4347dd96 Fix Y Test Daniel Holle 2024-08-06 12:42:09 +02:00
  • 4f0162ba64 Merge branch 'targetBytecode' into patternMatching Ruben 2024-08-05 15:42:48 +02:00
  • 6e1198ab3d test: reverted TestCodegen Ruben 2024-08-05 15:40:05 +02:00
  • 7785c2d0aa Fix equals method of ClassOrInterface Daniel Holle 2024-08-05 11:54:13 +02:00
  • cc8f36d3ec feat: further implementation Ruben 2024-08-02 18:02:35 +02:00
  • 139325e78f feat: fixed Commends Ruben 2024-07-31 17:42:23 +02:00