pl@gohorb.ba-horb.de
e00d76ce3b
Occurs-Check mit Abbruch eingebaut
...
finalResult zum Attribut der Klasse gemacht
2021-01-13 19:39:01 +01:00
AluAli
dce7ac8262
modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java
...
new file: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/PairMethodAndConstraint.java
modified: src/test/java/insertGenerics/FamilyOfGeneratedGenericsTest.java
2021-01-08 21:43:06 +01:00
AluAli
2f37bb7313
modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java
...
modified: src/test/java/insertGenerics/FamilyOfGeneratedGenericsTest.java
2020-12-29 01:03:55 +01:00
AluAli
a04316f629
modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java
...
modified: src/test/java/insertGenerics/FamilyOfGeneratedGenericsTest.java
modified: src/test/java/insertGenerics/TestExample42.java
modified: src/test/java/insertGenerics/TestExample42_allInOneMethod.java
2020-12-29 00:22:36 +01:00
AluAli
3b062de612
modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java
...
modified: src/test/java/insertGenerics/FamilyOfGeneratedGenericsTest.java
modified: src/test/java/insertGenerics/TestExample42.java
modified: src/test/java/insertGenerics/TestExample42_allInOneMethod.java
2020-12-28 15:37:45 +01:00
AluAli
c32ef1e31f
modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java
...
modified: src/test/java/insertGenerics/TestExample42.java
new file: src/test/java/insertGenerics/TestExample42_allInOneMethod.java
2020-12-28 00:29:08 +01:00
AluAli
7139a1709e
modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java
...
modified: src/test/java/insertGenerics/FamilyOfGeneratedGenericsTest.java
2020-12-22 16:08:01 +01:00
AluAli
d671e74fcf
modified: src/test/java/insertGenerics/FamilyOfGeneratedGenericsTest.java
2020-12-04 16:44:46 +01:00
AluAli
c2f0368d2e
modified: src/test/java/insertGenerics/FamilyOfGeneratedGenericsTest.java
2020-12-04 14:59:09 +01:00
AluAli
d06c6abb5a
modified: src/main/java/de/dhbwstuttgart/bytecode/genericsGenerator/GeneratedGenericsFinder.java
...
modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java
modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/PositionFinder.java
modified: src/test/java/insertGenerics/FamilyOfGeneratedGenericsTest.java
modified: src/test/java/insertGenerics/TestExample42.java
2020-12-04 14:25:37 +01:00
AluAli
f7101da621
modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java
...
new file: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/PairTphMethod.java
modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/PositionFinder.java
modified: src/test/java/insertGenerics/FamilyOfGeneratedGenericsTest.java
2020-12-04 13:17:31 +01:00
AluAli
c0c24eed3b
modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java
...
modified: src/test/java/insertGenerics/FamilyOfGeneratedGenericsTest.java
2020-12-04 11:00:12 +01:00
AluAli
997d3b9bea
modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java
...
modified: src/test/java/insertGenerics/FamilyOfGeneratedGenericsTest.java
2020-11-27 15:52:31 +01:00
AluAli
29a7f2e7fb
modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java
...
modified: src/test/java/insertGenerics/FamilyOfGeneratedGenericsTest.java
2020-11-27 14:10:31 +01:00
AluAli
4ac67120a4
modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java
...
modified: src/test/java/insertGenerics/FamilyOfGeneratedGenericsTest.java
2020-11-13 17:24:41 +01:00
AluAli
2e5581ab6e
modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java
...
modified: src/test/java/insertGenerics/FamilyOfGeneratedGenericsTest.java
2020-11-13 15:29:01 +01:00
AluAli
e8ac8e3c5a
modified: src/test/java/insertGenerics/FamilyOfGeneratedGenericsTest.java
2020-11-13 13:50:36 +01:00
AluAli
a4bc49f5c4
modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java
...
modified: src/test/java/insertGenerics/FamilyOfGeneratedGenericsTest.java
2020-11-13 00:43:49 +01:00
AluAli
9cf7cec37b
modified: src/main/java/de/dhbwstuttgart/bytecode/genericsGenerator/GeneratedGenericsFinder.java
...
renamed: src/main/java/de/dhbwstuttgart/bytecode/gGenericsAli/ClassConstraint.java -> src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/ClassConstraint.java
renamed: src/main/java/de/dhbwstuttgart/bytecode/gGenericsAli/FamilyOfGeneratedGenerics.java -> src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java
renamed: src/main/java/de/dhbwstuttgart/bytecode/gGenericsAli/GGenerics.java -> src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/GGenerics.java
renamed: src/main/java/de/dhbwstuttgart/bytecode/gGenericsAli/MethodConstraint.java -> src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/MethodConstraint.java
renamed: src/main/java/de/dhbwstuttgart/bytecode/gGenericsAli/PositionFinder.java -> src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/PositionFinder.java
renamed: src/main/java/de/dhbwstuttgart/bytecode/gGenericsAli/preGGenerics.java -> src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/preGGenerics.java
modified: src/test/java/constraintSimplify/FamilyOfGenerics.java
modified: src/test/java/insertGenerics/FamilyOfGeneratedGenericsTest.java
modified: src/test/java/insertGenerics/TestExample42.java
modified: src/test/java/insertGenerics/TestTransitiveClosure.java
2020-11-06 18:13:21 +01:00
JanUlrich
7ced6338cb
Add Test case for FamilyOfGenerics
2020-11-06 16:34:32 +01:00
AluAli
70b6c35731
modified: src/main/java/de/dhbwstuttgart/bytecode/gGenericsAli/FamilyOfGeneratedGenerics.java
...
modified: src/test/java/insertGenerics/TestExample42.java
new file: src/test/java/insertGenerics/TestTransitiveClosure.java
2020-11-06 15:22:36 +01:00
AluAli
8402d18f83
modified: src/main/java/de/dhbwstuttgart/bytecode/gGenericsAli/FamilyOfGeneratedGenerics.java
...
new file: src/main/java/de/dhbwstuttgart/bytecode/gGenericsAli/PositionFinder.java
modified: src/main/java/de/dhbwstuttgart/bytecode/genericsGenerator/GeneratedGenericsFinder.java
modified: src/test/java/constraintSimplify/FamilyOfGenerics.java
new file: src/test/java/insertGenerics/TestExample42.java
2020-11-01 14:09:27 +01:00
JanUlrich
b45964ed5f
Template für FamilyOfGenerics Test
2020-10-30 10:52:03 +01:00
AluAli
5060cca6db
modified: src/main/java/de/dhbwstuttgart/bytecode/gGenericsAli/ClassConstraint.java
...
modified: src/main/java/de/dhbwstuttgart/bytecode/gGenericsAli/FamilyOfGeneratedGenerics.java
modified: src/main/java/de/dhbwstuttgart/bytecode/gGenericsAli/MethodConstraint.java
modified: src/main/java/de/dhbwstuttgart/bytecode/genericsGenerator/GeneratedGenericsFinder.java
new file: src/test/java/insertGenerics/MethodsTest.java
new file: src/test/java/insertGenerics/TryTest.java
new file: src/test/resources/insertGenericsJav/TestGGFinder.jav
2020-10-23 10:42:24 +02:00
pl@gohorb.ba-horb.de
5a00b70ea8
modified: ../../../../main/java/de/dhbwstuttgart/bytecode/TPHExtractor.java
...
modified: ../../../../main/java/de/dhbwstuttgart/bytecode/genericsGenerator/GeneratedGenericsFinder.java
modified: ../../../java/AllgemeinTest.java
modified: ../../bytecode/javFiles/FieldTphConsMeth.jav
2020-10-16 14:54:36 +02:00
JanUlrich
e4908557f4
Merge addPackages and simplifyRes and clear project
2020-09-30 03:45:01 +02:00
JanUlrich
ed550b1097
Aufräumen
2020-09-30 03:32:57 +02:00
pl@gohorb.ba-horb.de
c8ece0a010
new file: ../../../java/bytecode/InheritTest2.java
...
modified: AA.jav
modified: CC.jav
new file: Inherit2.jav
2020-05-12 10:02:41 +02:00
pl@gohorb.ba-horb.de
c27e1fa4e1
modified: ../../../java/bytecode/InheritTest.java
...
modified: Inherit.jav
Funktioniert soweit
2020-05-11 17:54:37 +02:00
pl@gohorb.ba-horb.de
b3b25b7869
Merge branch 'addPackages' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into addPackages
2020-05-11 13:47:16 +02:00
pl@gohorb.ba-horb.de
9240b0d163
Changes to be committed:
...
modified: src/main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
modified: src/test/java/bytecode/InheritTest.java
modified: src/test/resources/bytecode/javFiles/Inherit.jav
2020-05-11 13:45:19 +02:00
JanUlrich
a0a813f87c
Inherit Test update
2020-05-08 11:35:21 +02:00
JanUlrich
60b182b9b1
Kleiner Hack für Inherit test
2020-05-08 11:26:07 +02:00
pl@gohorb.ba-horb.de
907ab2fcec
modified: ../../../java/bytecode/InheritTest.java
...
modified: ../../bytecode/javFiles/Inherit.jav
2020-05-08 10:19:00 +02:00
pl@gohorb.ba-horb.de
eb27003515
modified: ../../../../main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
...
modified: ../../../../main/java/de/dhbwstuttgart/typeinference/unify/model/FiniteClosure.java
modified: ../../../../main/java/de/dhbwstuttgart/typeinference/unify/model/Node.java
Fehler in der Transitivaet der Finit Closure gefixt
modified: ../../../java/bytecode/InheritTest.java
modified: ../../bytecode/javFiles/AA.jav
modified: ../../bytecode/javFiles/CC.jav
modified: ../../bytecode/javFiles/Inherit.jav
Noch Probl;em in der Reflections
2020-05-07 16:29:00 +02:00
pl@gohorb.ba-horb.de
ba750187ba
modified: ../src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java
...
modified: ../src/main/java/de/dhbwstuttgart/typeinference/constraints/Constraint.java
modified: ../src/test/java/bytecode/InheritTest.java
new file: ../src/test/resources/bytecode/javFiles/AA.jav
new file: ../src/test/resources/bytecode/javFiles/BB.jav
new file: ../src/test/resources/bytecode/javFiles/CC.jav
new file: ../src/test/resources/bytecode/javFiles/DD.jav
modified: ../src/test/resources/bytecode/javFiles/Inherit.jav
Inherit funktioniert noch nicht ganz
2020-05-06 19:22:08 +02:00
pl@gohorb.ba-horb.de
ccf5df1f1e
new file: ../../../java/bytecode/InheritTest.java
...
modified: ../../../java/bytecode/PutTest.java
new file: ../../bytecode/javFiles/Inherit.jav
2020-05-05 18:43:39 +02:00
pl@gohorb.ba-horb.de
3de735ebe3
modified: ../../../../main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
...
new file: ../../../java/bytecode/PutTest.java
new file: ../../bytecode/javFiles/Put.jav
2020-05-05 18:06:05 +02:00
pl@gohorb.ba-horb.de
4f10e789d4
modified: src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java
...
modified: src/main/java/de/dhbwstuttgart/syntaxtree/ClassOrInterface.java
modified: src/main/java/de/dhbwstuttgart/syntaxtree/Method.java
modified: src/main/java/de/dhbwstuttgart/syntaxtree/factory/ASTFactory.java
modified: src/main/java/de/dhbwstuttgart/syntaxtree/factory/UnifyTypeFactory.java
modified: src/main/java/de/dhbwstuttgart/typeinference/assumptions/MethodAssumption.java
modified: src/main/java/de/dhbwstuttgart/typeinference/constraints/Constraint.java
modified: src/main/java/de/dhbwstuttgart/typeinference/constraints/ConstraintSet.java
modified: src/main/java/de/dhbwstuttgart/typeinference/typeAlgo/TYPEStmt.java
modified: src/main/java/de/dhbwstuttgart/typeinference/unify/RuleSet.java
modified: src/main/java/de/dhbwstuttgart/typeinference/unify/TypeUnify.java
modified: src/main/java/de/dhbwstuttgart/typeinference/unify/TypeUnify2Task.java
modified: src/main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
modified: src/main/java/de/dhbwstuttgart/typeinference/unify/interfaces/IRuleSet.java
modified: src/test/java/AllgemeinTest.java
Erster Ansatz Call-Graph zu beruecksichtigen
2020-04-24 23:05:42 +02:00
pl@gohorb.ba-horb.de
8b9f0d6376
modified: src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java
...
modified: src/main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
log-Files abgeschaltet
modified: src/test/java/AllgemeinTest.java
File ergaenzt
2020-04-20 14:29:15 +02:00
pl@gohorb.ba-horb.de
723eca8658
modified: src/test/java/typeinference/JavaTXCompilerTest.java
...
modified: src/test/resources/javFiles/IfTest.jav
modified: src/test/resources/javFiles/ListenerOverload.jav
modified: src/test/resources/javFiles/fc.jav
2020-04-14 18:28:16 +02:00
pl@gohorb.ba-horb.de
071f4cd9ca
modified: src/test/java/typeinference/JavaTXCompilerTest.java
...
modified: src/test/java/typeinference/Meth_GenTest.java
modified: src/test/java/typeinference/UnifyTest.java
Tests angepasst
2020-04-14 16:47:25 +02:00
pl@gohorb.ba-horb.de
3f919be1bf
new file: ../../../java/AllgemeinTest.java
...
new file: ../../../java/bytecode/mathStrucMatrixOPTest.java.txt
new file: ../../../java/bytecode/mathStrucVectorAddTest.java.txt
new file: ../../../java/packages/mathStrucMatrixOPTest.java.txt
new file: ../../AllgemeinTest/FCTest1.jav
new file: ../../AllgemeinTest/FCTest2.jav
new file: ../../AllgemeinTest/FCTest3.jav
new file: ../../AllgemeinTest/GenTest.jav
new file: ../../AllgemeinTest/Generics.jav
new file: ../../AllgemeinTest/OverloadingMain.jav
new file: ../../AllgemeinTest/Overloading_Generics.jav
new file: ../../AllgemeinTest/OverrideMain.jav
new file: ../../AllgemeinTest/OverrideMainRet.jav
new file: ../../AllgemeinTest/Pair.java
2020-03-30 16:17:52 +02:00
pl@gohorb.ba-horb.de
d63c27579c
modified: ../../../../main/java/de/dhbwstuttgart/bytecode/BytecodeGenMethod.java
...
Typen der Methoden der Oder-Constraiunts benutzen wieder rueckgaenig gemacht
modified: ../../../../main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
wieder alle grArg im a <. theta' benutzen
modified: ../../bytecode/javFiles/MatrixOP.jav
2020-03-09 18:30:36 +01:00
pl@gohorb.ba-horb.de
b38340fc60
modified: ../../../../main/java/de/dhbwstuttgart/core/JavaTXCompiler.java
...
modified: ../../../../main/java/de/dhbwstuttgart/typeinference/constraints/ConstraintSet.java
toString veraendert
modified: ../../../../main/java/de/dhbwstuttgart/typeinference/unify/Match.java
modified: ../../../../main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
Fall A <. theta' veraendert.
modified: ../../bytecode/javFiles/MatrixOP.jav
2020-03-09 14:06:41 +01:00
pl@gohorb.ba-horb.de
e581050a61
modified: ../../../java/packages/LoadDefaultPackageClassesTest.java
...
modified: ../../../java/packages/OLOneFileTest.java
2020-01-21 18:22:40 +01:00
pl@gohorb.ba-horb.de
8ec1c5148b
new file: OLTest.txt
...
new file: UseOLMain.java
Test für die ComandLine-Version
2020-01-21 14:34:09 +01:00
pl@gohorb.ba-horb.de
bf80361c1f
new file: ../../../java/packages/OLOneFileTest.java
...
new file: OLOneFile.jav
2020-01-21 14:12:48 +01:00
pl@gohorb.ba-horb.de
d55e6b3b75
modified: ../../../../main/java/de/dhbwstuttgart/bytecode/BytecodeGenMethod.java
...
fehlerhafter Aufruf getMethod korrigiert.
modified: ../../../java/packages/OLTest.java
modified: OLMain.jav
new file: OLextends.jav
renamed: OL.jav -> de/test/OL.jav
OL-Beispiel mit doppelter Vererbung eingefuegt.
2020-01-21 12:27:41 +01:00
JanUlrich
a6287b1551
Work with File instead of Strings when specifying output als classpath
2020-01-17 16:06:51 +01:00
JanUlrich
0c1ca3d200
Fehler beheben und DirecotryClassLoader anfügen
2020-01-12 22:49:51 +01:00
JanUlrich
f3d6fcb417
add -classpath to ConsoleInterface. Fix bug
2020-01-11 20:19:23 +01:00
pl@gohorb.ba-horb.de
6779f10b08
modified: ../../../../main/java/de/dhbwstuttgart/bytecode/BytecodeGenMethod.java
...
Bug "." wird in replaceAll nicht ersetzt, deshalb "/" durch "." und nicht "." durch "/" ersetzt.
modified: ../../../java/packages/OLTest.java
modified: ../../../java/packages/mathStrucVectorTest.java
renamed: de/test/OL.jav -> OL.jav
renamed: de/test/OLMain.jav -> OLMain.jav
OL ins default-Package verschoben
2020-01-07 18:37:43 +01:00
pl@gohorb.ba-horb.de
ac3f8ece0e
Merge branch 'addPackages' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into addPackages
2020-01-07 11:20:31 +01:00
JanUlrich
f63346649b
Fix loading packages from same package
2020-01-06 22:04:29 +01:00
JanUlrich
691d31df5e
Die getRegistry Methode der CompilationEnvironment Klasse beachtet jetzt auch alle .class Files, welche sich im gleichen Ordner befinden
2020-01-03 01:08:00 +01:00
pl@gohorb.ba-horb.de
bd0b2e6058
new file: ../../../../../../../../java/packages/OLTest.java
...
new file: ../../../OL.jav
new file: ../../../OLMain.jav
2019-12-30 10:45:32 +01:00
pl@gohorb.ba-horb.de
0c9c8ef321
modified: ../../../../../../../../../main/java/de/dhbwstuttgart/syntaxtree/factory/ASTFactory.java
...
Bug 182 fixed
modified: ../../../mathStrucVector.jav
modified: ../../../vectorAdd.jav
kleine Aenderungen
2019-12-29 19:42:40 +01:00
JanUlrich
19989bfe11
Add Console Interface parameters, output directory and classpath
2019-12-26 19:43:00 +01:00
JanUlrich
f59a7d221e
Fix bug #181
2019-12-26 15:22:40 +01:00
pl@gohorb.ba-horb.de
c1c12fa33c
new file: mathStrucVectorTest.java
...
new file: ../../resources/javFiles/packageTest/de/test/mathStruc.jav
new file: ../../resources/javFiles/packageTest/de/test/mathStrucVector.jav
new file: ../../resources/javFiles/packageTest/de/test/vectorAdd.jav
2019-12-23 16:34:07 +01:00
pl@gohorb.ba-horb.de
7fd03d505e
Merge branch 'addPackages' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into addPackages
2019-12-23 11:25:36 +01:00
pl@gohorb.ba-horb.de
4391adfb0f
modified: src/main/java/de/dhbwstuttgart/typeinference/typeAlgo/TYPEStmt.java
...
modified: src/test/resources/bytecode/javFiles/OL.jav
2019-12-23 11:25:07 +01:00
JanUlrich
d0b6dbcd30
Tests anfügen und Bugs fixen
2019-12-22 23:23:10 +01:00
JanUlrich
306af907c5
Nicht mit mehreren Eingabedateien testen
2019-12-22 22:32:40 +01:00
JanUlrich
75eaee6644
Abgabeprotokoll
2019-12-22 17:59:40 +01:00
JanUlrich
0378c17e7d
ClassLoader austauschen gegen den Classloader, welcher in JavaCompilerCore erstellt wird
2019-12-22 14:27:54 +01:00
JanUlrich
afd2c21ca8
Add classPath option to JavaTXCompiler and parse with URLClassLoader
2019-12-16 00:54:00 +01:00
JanUlrich
bb75fca0d7
Add ImportTest
2019-12-15 14:57:12 +01:00
JanUlrich
c82abcaae5
Generate Package names in .class files
2019-12-15 14:55:49 +01:00
JanUlrich
a3b4ea9b1c
[Bytecde] Generate new directory if given output path doesnt exist yet
2019-12-14 17:50:23 +01:00
JanUlrich
af5b23e31a
Use JavaClassName instead of Strings
2019-12-14 16:30:14 +01:00
pl@gohorb.ba-horb.de
5c1015b51e
modified: src/main/java/de/dhbwstuttgart/parser/SyntaxTreeGenerator/SyntaxTreeGenerator.java
...
- fieldType = TypePlaceholder.fresh(fieldDeclarationContext.getStart());
+ fieldType = TypePlaceholder.fresh(fieldDeclarationContext.variableDeclaratorList().getStart()); //PL 2019-12-06: variableDeclaratorList() eingefuegt, um als Token nicht die Modifier zu bekommen
2019-12-06 12:57:07 +01:00
michael
6cbabee65a
Merge remote-tracking branch 'origin/bigRefactoring' into simplifyRes
2019-12-02 20:15:33 +01:00
JanUlrich
09a6aec65d
Erste Tests und die Möglichkeit generateBytecode null als Pfad zu übergeben
2019-11-24 17:52:02 +01:00
JanUlrich
766e71bb3a
Beginn mit Werksvertrag: Package Support
2019-11-19 21:53:53 +01:00
JanUlrich
802d7726d4
Merge branch 'bigRefactoring' into addPackages
2019-11-19 21:51:14 +01:00
pl@gohorb.ba-horb.de
00bbd5279f
modified: src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java
...
log-File-Ausgabe etwas ergaenzt
modified: src/main/java/de/dhbwstuttgart/parser/SyntaxTreeGenerator/SyntaxTreeGenerator.java
Fehler korrigiert, dass alle Fieldinitializer bei mehreren Klassen additiv hinzugefuegt werden
modified: src/main/java/de/dhbwstuttgart/syntaxtree/statement/This.java
toString veranedert
modified: src/test/resources/bytecode/javFiles/mathStruc.jav
leichte Korrektur
new file: src/test/java/bytecode/mathStrucIntegerTest.java
new file: src/test/resources/bytecode/javFiles/mathStrucInteger.jav
mathStruc auf Integer angewandt
new file: src/test/resources/bytecode/javFiles/mathStrucMatrixOP.jav
mathStruc auf MatrixOP angewandt, laeuft noch nicht durch, des halb Test noch nicht eingecheckt
2019-10-24 17:47:51 +02:00
pl@gohorb.ba-horb.de
6c783a18c7
new file: ../../../../../PlugInBau.txt
...
modified: ../../bytecode/javFiles/Faculty.jav
modified: ../../bytecode/javFiles/OL.jav
modified: ../../bytecode/javFiles/Y.jav
modified: ../../bytecode/javFiles/mathStruc.jav
2019-10-22 16:44:38 +02:00
pl@gohorb.ba-horb.de
37f8f2e1e0
modified: ../../bytecode/javFiles/Y.jav
...
Anwendung von Y eingefuegt.
2019-09-19 13:57:49 +02:00
Michael Uhl
0138e4fe2d
Merge branch 'bytecode2' into simplifyRes
2019-09-17 09:41:08 +02:00
Michael Uhl
9741b5e14e
Merge remote-tracking branch 'origin/bytecode2' into simplifyRes
...
Conflicts:
src/main/java/de/dhbwstuttgart/bytecode/simplifyRes/GenericGenratorResultForSourceFile.java
src/main/java/de/dhbwstuttgart/bytecode/simplifyRes/GenericsGeneratorResultForClass.java
2019-09-17 09:36:56 +02:00
Fayez Abu Alia
c2030123d5
Fixed bugs 163 and 169
2019-09-17 09:33:18 +02:00
Michael Uhl
25fb7a2e28
Plugin: Additional generic insert points.
2019-09-16 11:52:34 +02:00
Fayez Abu Alia
d1637b8eb9
Merge branch 'bytecode2' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bytecode2
2019-08-29 11:50:23 +02:00
Fayez Abu Alia
9abda637a1
Generic generator algorithm - fixed bug
2019-08-29 10:49:18 +02:00
pl@gohorb.ba-horb.de
82c0837d1f
mathStruc.jav hinzugefügt
2019-08-23 15:06:54 +02:00
Fayez Abu Alia
a41e9804a0
Merge branch 'bytecode2' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bytecode2
2019-07-31 13:18:07 +02:00
Fayez Abu Alia
25c685c705
Merged with simplifyRes and cleaned up code
2019-07-31 13:16:14 +02:00
Fayez Abu Alia
7a4bc32974
Generic generator algorithm v0.1
2019-07-25 22:24:06 +02:00
Fayez Abu Alia
347d86a379
Genericsgenerator step 2 and 3
2019-07-11 15:52:38 +02:00
Fayez Abu Alia
d77f2176f2
Generics generator step 1
2019-07-10 15:26:16 +02:00
Fayez Abu Alia
669e7f111f
Separated the generation of bytecode and the calculation of simplify
...
results from each other
2019-07-05 13:29:34 +02:00
pl@gohorb.ba-horb.de
32d12677bf
Merge branch 'bytecode2' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bytecode2
2019-06-28 11:41:47 +02:00
pl@gohorb.ba-horb.de
92b2f5c9cc
modified: src/test/resources/bytecode/javFiles/Faculty.jav
...
} eingefuegt
2019-06-28 11:41:19 +02:00
Fayez Abu Alia
c1e6526b43
Removed unnecessary tests
2019-06-26 12:18:49 +02:00
Fayez Abu Alia
0194e30206
Fixed Bug 150.
2019-06-26 12:16:47 +02:00
Fayez Abu Alia
3c36c61077
Fixed Bugs 159, 162 and 163
2019-06-13 14:01:32 +02:00
Fayez Abu Alia
b801e144c3
Merged with bigRefactoring. Added method to generate signature to
...
FunN-Interfaces. Adapted jav-Files.
2019-06-06 12:15:51 +02:00
Martin Plümicke
f6669f8c13
new file: ../../../java/bytecode/VectorAddTest.java
2019-06-05 10:28:51 +02:00
Martin Plümicke
2b7aef5e87
modified: ../../../../main/java/de/dhbwstuttgart/core/JavaTXCompiler.java
...
modified: ../../../../main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
Pfad fuer logFile nach JavaCompilerCore/logFiles verlegt.
modified: ../../bytecode/javFiles/OL.jav
modified: ../../bytecode/javFiles/VectorAdd.jav
2019-06-05 10:21:25 +02:00
Martin Plümicke
212144db86
renamed: test/java/bytecode/FunOLTest.java -> test/java/bytecode/OLFunTest.java
...
new file: test/resources/bytecode/javFiles/OLFun.jav
2019-05-14 20:30:32 +02:00
Martin Plümicke
d14406e474
modified: ../../../main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
...
modified: ../../resources/bytecode/javFiles/MatrixOP.jav
2019-05-10 21:23:28 +02:00
Martin Plümicke
448c489a49
modified: src/main/java/de/dhbwstuttgart/typeinference/result/ResultSet.java
...
modified: src/test/resources/bytecode/javFiles/Lambda.jav
modified: src/test/resources/bytecode/javFiles/MatrixOP.jav
modified: src/test/resources/bytecode/javFiles/OL.jav
2019-04-27 15:44:21 +02:00
pl@gohorb.ba-horb.de
4a7c124fd6
Merge branch 'bytecode2' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bigRefactoring
2019-04-27 09:51:22 +02:00
pl@gohorb.ba-horb.de
7d01c866a9
modified: ../src/test/resources/bytecode/javFiles/Id.jav
...
modified: ../src/test/resources/bytecode/javFiles/Matrix.jav
modified: ../src/test/resources/bytecode/javFiles/MatrixOP.jav
modified: ../src/test/resources/bytecode/javFiles/OL.jav
2019-04-26 14:12:46 +02:00
Fayez Abu Alia
5950fcc0a9
Neue Klasse MethodCallHelper und Exceptions definiert, die fuer die
...
Uebersetzung von MethodCalls verwendet werden
2019-04-24 15:43:00 +02:00
Martin Plümicke
d2fb17ad4e
Merge branch 'bcGenerics' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bcGenerics
2019-04-21 22:32:20 +02:00
Martin Plümicke
d9f084cd0f
modified: ../../bytecode/javFiles/Faculty.jav
...
neue Imports hinzugefuegt
2019-04-21 22:31:55 +02:00
Fayez Abu Alia
6a519ff6dc
Ein Feld wird nur einmal in Bytecode uebersetzt. genIns in ResultSet
...
wird angepasst.
2019-04-18 13:17:50 +02:00
Fayez Abu Alia
5b527ec8ab
Merge branch 'bcGenerics' of ssh://abualia@gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bcGenerics
2019-04-18 10:50:02 +02:00
Fayez Abu Alia
709041f024
Adapted TypedID jav-file
2019-04-18 10:48:59 +02:00
Martin Plümicke
588212389a
Die Bestimmung der Constraints aus dem ResolvedType herausgenommen und im ResultSet integriert.
...
Damit kommen immer die gleichen Constraints raus. Diese werden ohnehin in der Bytecodegenerierung
nochmals ausgewertet.
modified: ../../../../main/java/de/dhbwstuttgart/bytecode/TPHExtractor.java
Zugriff auf Constraints ueber ResultSet eingefuehrt
modified: ../../../../main/java/de/dhbwstuttgart/bytecode/signature/Signature.java
Zugriff auf Constraints ueber ResultSet eingefuehrt
modified: ../../../../main/java/de/dhbwstuttgart/core/JavaTXCompiler.java
modified: ../../../../main/java/de/dhbwstuttgart/typeinference/result/GenericInsertPair.java
modified: ../../../../main/java/de/dhbwstuttgart/typeinference/result/PairTPHequalRefTypeOrWildcardType.java
modified: ../../../../main/java/de/dhbwstuttgart/typeinference/result/PairTPHsmallerTPH.java
toString veraendert
modified: ../../../../main/java/de/dhbwstuttgart/typeinference/result/ResultSet.java
Attribut genIns eingefuehrt, indem alle GenericInsertPairs gespeichert werden, die Form (TPH a <. TPH b)
im Attribut results haben
modified: ../../../../main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
modified: ../../bytecode/javFiles/Id.jav
modified: ../../bytecode/javFiles/MatrixOP.jav
2019-04-12 10:28:39 +02:00
Martin Plümicke
1454281628
Merge branch 'bigRefactoring' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bcGenerics
2019-04-11 11:57:30 +02:00
Fayez Abu Alia
602216d9e2
Generics beruecksichtigt
2019-04-11 11:26:54 +02:00
Martin Plümicke
e53c29f582
modified: ../../../main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
...
Typeinference-Exception eingefuegt, wenn kein korrekter Typ inferierbar ist.
modified: ../../resources/bytecode/javFiles/Id.jav
2019-04-06 00:53:35 +02:00
Martin Plümicke
656c77d16b
Merge branch 'bytecode2' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bigRefactoring
2019-04-05 12:52:28 +02:00
Fayez Abu Alia
588b9ef83a
Merge branch 'bytecode2' of ssh://abualia@gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bytecode2
2019-04-05 10:44:52 +02:00
Fayez Abu Alia
ee932892c6
subString durch contains ersetzt
2019-04-05 10:43:09 +02:00
Martin Plümicke
1edc023ed9
modified: ../../../main/java/de/dhbwstuttgart/syntaxtree/factory/UnifyTypeFactory.java
...
modified: ../../../main/java/de/dhbwstuttgart/typeinference/unify/model/ReferenceType.java
Generische Typvariablen im Unify durch Tag im ReferenceType eingefuehrt
2019-03-28 17:44:42 +01:00
Martin Plümicke
df0f26c021
:w:wq
2019-03-28 16:55:48 +01:00
Martin Plümicke
0f1526daa2
modified: ../../../main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
...
deleted: .gitignore
2019-03-28 15:44:03 +01:00
Fayez Abu Alia
c921330b55
Methode getSimplifyList definiert, die eine Liste von Ergebnisse des
...
Simplify-Alg zurueckliefert
2019-03-21 12:03:13 +01:00
Martin Plümicke
4ba4292db4
Merge branch 'unify-test' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bigRefactoring
2019-03-20 16:30:21 +01:00
Martin Plümicke
01a548215a
Merge branch 'bytecode2' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bigRefactoring
2019-03-20 12:53:35 +01:00
Martin Plümicke
66cd1e7012
modified: ../../bytecode/javFiles/MatrixOP.jav
2019-03-20 12:45:17 +01:00
Martin Plümicke
850fe39426
modified: ../../../main/java/de/dhbwstuttgart/parser/SyntaxTreeGenerator/TypeGenerator.java
...
Typen mit Argumenten korrgiert
2019-03-19 16:31:04 +01:00
Martin Plümicke
82f330eab5
modified: ../../../main/java/de/dhbwstuttgart/core/JavaTXCompiler.java
...
modified: ../../../main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
modified: ../../resources/bytecode/javFiles/Matrix.jav
2019-03-17 17:44:09 +01:00
Martin Plümicke
44ed1d8e8d
modified: ../../../main/java/de/dhbwstuttgart/core/JavaTXCompiler.java
...
modified: ../../../main/java/de/dhbwstuttgart/typeinference/unify/TypeUnify.java
modified: ../../../main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
Die Ueberpruefung von a bzw. nSaL in Methode checkA ausgelagert und für die Faelle a <. th und ty <. a implementiert.
2019-03-14 00:20:19 +01:00
Martin Plümicke
b46e0b855c
modified: ../../resources/bytecode/javFiles/MatrixOP.jav
2019-02-28 15:38:30 +01:00
Martin Plümicke
88ec8823fd
modified: ../../../main/java/de/dhbwstuttgart/parser/SyntaxTreeGenerator/TypeGenerator.java
...
modified: ../../../main/java/de/dhbwstuttgart/syntaxtree/factory/UnifyTypeFactory.java
deleted: ../../../main/java/de/dhbwstuttgart/syntaxtree/type/FunN.java
modified: ../../../main/java/de/dhbwstuttgart/typeinference/assumptions/FunNClass.java
modified: ../../../main/java/de/dhbwstuttgart/typeinference/assumptions/MethodAssumption.java
modified: ../../../main/java/de/dhbwstuttgart/typeinference/typeAlgo/TYPEStmt.java
modified: ../../../main/java/de/dhbwstuttgart/typeinference/unify/model/FunNType.java
Es wird jetzt FunN-Type FunN$$ geparst
Der Typ FunN wurde entfernt
Der Name des Typs FunNType wurde um $$ am Ende ergänzt
2019-02-27 16:04:55 +01:00
Fayez Abu Alia
6c19a9f78c
Merge branch 'bytecode2' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bytecode2
2019-02-21 13:35:07 +01:00
Fayez Abu Alia
3e186334a2
Simpify Algo korrigiert so dass die lokalen Variablen der Methode beruecksichtigt werden
2019-02-21 13:34:36 +01:00
Martin Plümicke
8e4b39b05e
modified: ../../test/resources/bytecode/javFiles/Inf.jav
2019-02-20 16:03:56 +01:00
Martin Plümicke
926d911d21
modified: ../bytecode/MatrixTest.java
2019-02-20 15:08:06 +01:00
Martin Plümicke
08d69ce6e3
modified: ../../../main/java/de/dhbwstuttgart/core/JavaTXCompiler.java
...
modified: ../../../main/java/de/dhbwstuttgart/typeinference/unify/TypeUnify.java
modified: ../../../main/java/de/dhbwstuttgart/typeinference/unify/TypeUnify2Task.java
modified: ../../../main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
modified: ../../../main/java/de/dhbwstuttgart/typeinference/unify/UnifyResultModel.java
zurueckumwandlung von den Unifytypen in UnifyResultModel verlegt.
2019-02-17 08:51:23 +01:00
Martin Plümicke
396efb52de
modified: ../../../main/java/de/dhbwstuttgart/typeinference/unify/RuleSet.java
...
modified: ../../../main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
modified: ../../../main/java/de/dhbwstuttgart/typeinference/unify/interfaces/IRuleSet.java
subst-Anwendung auf oderconstraints eingebaut
2019-02-15 00:00:41 +01:00
Fayez Abu Alia
67469bbb84
Merge branch 'bytecode2' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bytecode2
2019-02-14 11:44:37 +01:00
Fayez Abu Alia
d2581b02ab
modified: src/main/java/de/dhbwstuttgart/bytecode/BytecodeGenMethod.java
...
Bug in generate BC fuer if(Boolean) gefixt
modified: src/main/java/de/dhbwstuttgart/bytecode/signature/Signature.java
new file: src/main/java/de/dhbwstuttgart/bytecode/utilities/ConstraintsFinder.java
Fasst alle Constraints mit der gleichen Linke-Seite in einer Liste zusammen
new file: src/main/java/de/dhbwstuttgart/bytecode/utilities/NameReplacer.java
Ersetzt die gleiche Type Variables durch einen neuen eindeutigen Namen
modified: src/main/java/de/dhbwstuttgart/bytecode/utilities/Simplify.java
Algorithmus angepasst
modified: src/test/java/bytecode/FieldTphMMethTest.java
Test funktioniert
new file: src/test/java/bytecode/InfTest.java
Infimum Test funktioniert
new file: src/test/java/bytecode/simplifyalgo/FinderTest.java
Tests fuer die HilfsMethoden
2019-02-14 11:37:15 +01:00
Martin Plümicke
db91e73750
modified: src/main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
...
aParDef wird auch ausgewertet
modified: src/test/resources/bytecode/javFiles/MatrixOP.jav
2019-02-06 18:15:39 +01:00
Martin Plümicke
e52181a0c7
modified: ../../../main/java/de/dhbwstuttgart/typeinference/unify/TypeUnify2Task.java
...
modified: ../../../main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
modified: ../../resources/bytecode/javFiles/Matrix.jav
2019-02-04 23:32:52 +01:00
Michael Uhl
28c6f78715
Merge branch 'unify-test' into bytecode2
2019-02-02 15:50:34 +01:00
Michael Uhl
1e5e9f8cd4
Merge remote-tracking branch 'origin/bytecode2' into bytecode2
2019-02-01 22:15:28 +01:00
Martin Plümicke
aa0b157374
modified: src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java
...
modified: src/main/java/de/dhbwstuttgart/typeinference/unify/TypeUnify.java
modified: src/main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
new file: src/main/java/de/dhbwstuttgart/typeinference/unify/UnifyResultListenerImpl.java
modified: src/test/resources/bytecode/javFiles/MatrixOP.jav
Erster Ansatz asyncrone Threads
2019-01-30 09:11:33 +01:00
Martin Plümicke
188ea1f7f8
modified: ../../../../main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
...
einige Aenderungen, die parallele Verarbeitung ermoeglicht
2019-01-20 21:49:22 +01:00
Fayez Abu Alia
fd72ed340d
Test Erzeugung Type-Variablen fuer Klassen
2019-01-17 11:26:09 +01:00
Martin Plümicke
38d4481756
modified: ../../../main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
...
Es muss noch geklaert werden, wann ein neuer Thread generiert werden darf.
modified: ../../resources/bytecode/javFiles/MatrixOP.jav
2019-01-16 22:57:24 +01:00
Fayez Abu Alia
d6961b0d0b
Merge branch 'unify-test' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bytecode2
2019-01-16 14:42:07 +01:00
Fayez Abu Alia
d4d668b662
Simplify fuer Klassen Type Variablen
2019-01-16 14:41:33 +01:00
Martin Plümicke
8c517e7f4a
new file: ../../../main/java/de/dhbwstuttgart/typeinference/unify/model/hashKeyType.java
...
modified: ../../resources/bytecode/javFiles/VectorSuper.jav
2019-01-16 10:27:15 +01:00