This website requires JavaScript.
c479b044b3
feat: add Method to only get AST
LSP-Interface
Ruben
2025-07-16 14:18:22 +02:00
9046fb09e5
fix: directly use .generate Method instead of compiling each file by hand
Ruben
2025-07-16 11:53:48 +02:00
9e323759d6
sort resultsets before printing them to the console to enhance comparability between results
issue363
julian
2025-07-16 11:17:53 +02:00
558083166d
Fix subtyping of function types
Daniel Holle
2025-07-15 15:02:15 +02:00
aec2f9a399
adjust FiniteClosure to only use imported types + some necessary ones
julian
2025-07-15 14:06:51 +02:00
31df7a65f0
deleted: ../resources/bytecode/javFiles/Bug365a.jav modified: ../src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java modified: ../src/test/java/TestComplete.java
pl@gohorb.ba-horb.de
2025-07-08 17:44:55 +02:00
185989ba62
--- a/src/main/java/de/dhbwstuttgart/typeinference/typeAlgo/TYPEStmt.java +++ b/src/main/java/de/dhbwstuttgart/typeinference/typeAlgo/TYPEStmt.java @@ -73,7 +73,7 @@ public class TYPEStmt implements StatementVisitor {
pl@gohorb.ba-horb.de
2025-07-08 14:32:05 +02:00
0eb48ba425
new file: resources/bytecode/javFiles/Bug365a.jav modified: src/main/java/de/dhbwstuttgart/typeinference/typeAlgo/TYPEStmt.java modified: src/test/java/TestComplete.java
pl@gohorb.ba-horb.de
2025-07-07 13:11:27 +02:00
ceee9a49c4
Merge branch 'issue363' of ssh://gitea.hb.dhbw-stuttgart.de:2222/JavaTX/JavaCompilerCore into issue363
Daniel Holle
2025-07-02 11:09:44 +02:00
ee64218a5f
Fix class files not generating FunN types when using jar file
Daniel Holle
2025-07-02 11:09:38 +02:00
c50f14a4a3
.gitea/workflows/build_and_test.yml aktualisiert
Daniel Holle
2025-07-01 14:35:08 +00:00
1f4250ff84
Update project to java 24, update dependencies and change api to Junit 5
Daniel Holle
2025-07-01 15:55:58 +02:00
ae41c7f19d
Fix #366
Daniel Holle
2025-07-01 15:54:08 +02:00
2416c80c20
Merge branch 'issue363' of ssh://gitea.hb.dhbw-stuttgart.de:2222/JavaTX/JavaCompilerCore into issue363
Daniel Holle
2025-07-01 13:46:19 +02:00
4cc55c0059
Add test for #366
Daniel Holle
2025-07-01 13:45:46 +02:00
9434facfa0
Purge generics from lambdas
Daniel Holle
2025-06-20 15:43:15 +02:00
09a6b9a788
Fix lambda expression captures
Daniel Holle
2025-06-18 18:31:22 +02:00
8b342c5604
the last commit message was a lie, nothing was fixed. The lambdas does not even respect the arguments it is given?
i21023
2025-06-18 16:46:27 +02:00
cdb93b5155
Remove ByteArrayClassLoader and fix #363
Daniel Holle
2025-06-18 15:26:14 +02:00
b07e848fa2
Remove print statement
Daniel Holle
2025-06-18 13:24:59 +02:00
313cd20f36
Fix #364
Daniel Holle
2025-06-18 13:24:06 +02:00
567fcc3b9a
rename issues to bug
i21023
2025-06-18 12:59:00 +02:00
d9936e7197
add issue 364
i21023
2025-06-18 12:55:50 +02:00
8f194b3102
add issue 363
i21023
2025-06-18 12:48:55 +02:00
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
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 #356 ' (#357 ) 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 #356
#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 #353
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 #349
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 #348
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 #348
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