Commit Graph

91 Commits

Author SHA1 Message Date
Johanna Stuber
a80d1f9059 Additional TypeAbstraction constructor, for that implement getFreeTypeVariables() on types 2021-02-04 10:17:54 +01:00
Johanna Stuber
c3d5d9147c Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-04 09:27:56 +01:00
Johanna Stuber
29ca293fce better handling of optionals 2021-02-04 09:27:46 +01:00
Arne Keller
62d7c9f5e1 Fix parsing of (λx.x)λx.x 2021-02-03 16:09:58 +01:00
ucrhh
e2788a1c81 changed indexing of variables 2021-02-03 15:27:18 +01:00
uogau
9e77c422f2 TypeAssumptionParser und ModelImpl angepasst 2021-02-03 13:40:56 +01:00
Johanna Stuber
d3add97c1e Implement most of Tree::visit(letTerm), for that add EmptyStep 2021-02-03 11:07:50 +01:00
Johanna Stuber
4bc4b8a14a TypeInfererLet now implementation of TypeInfererInterface 2021-02-03 07:56:48 +01:00
Johanna Stuber
e5d29822f7 Test for TypeInferenceResult::getType(); sort mgu by kind, then index; checkstyle 2021-02-03 07:50:52 +01:00
Arne Keller
9d4e225d16 Code style fixes 2021-02-02 10:55:46 +01:00
Arne Keller
87eaad1d5a Unification implementation 2021-02-02 10:29:45 +01:00
Arne Keller
10cd63abb4 Panning and zooming of inference tree 2021-02-01 16:19:13 +01:00
Arne Keller
2d92294736 LambdaTerm toString 2021-02-01 15:11:19 +01:00
uogau
8929a59e82 createLetStep hinzugefügt 2021-02-01 14:14:18 +01:00
Arne Keller
64312cd172 More parser error handling tests 2021-02-01 11:08:31 +01:00
Arne Keller
f8ac91cdd8 Type assumption parser implementation + tests 2021-02-01 10:50:44 +01:00
uogau
d95ba1eb7c *-import entfernt 2021-02-01 01:27:03 +01:00
uogau
d57e431782 ModelImpl: typeAssumptions parsen lassen
einige Parameter final gemacht
Fehlende Javadocs
2021-02-01 01:24:51 +01:00
Johanna Stuber
622851aaaa Implement TypeInfererLet::getLetConstraints() 2021-01-31 17:41:27 +01:00
Johanna Stuber
e31cb5efeb Fix inconsistency due to merge 2021-01-31 17:13:39 +01:00
Johanna Stuber
b3e6514bb8 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-01-31 14:21:23 +01:00
Johanna Stuber
d8f6baf615 Test for TypeInferenceResult::getMGU(), order MGU after indices, the kind 2021-01-31 14:21:13 +01:00
ucrhh
70bff9c3d0 rename MGU to mgu to match checkstyle 2021-01-31 13:42:29 +01:00
Johanna Stuber
b09b52e5df merge 2021-01-31 12:18:39 +01:00
Johanna Stuber
f398c88aa0 Implement TypeInferenceResult 2021-01-31 12:15:10 +01:00
Arne Keller
cd1cb29889 UnificationStep + code style fixes 2021-01-31 11:27:11 +01:00
Johanna Stuber
835188466b Tree test visit(appTerm) 2021-01-31 10:59:57 +01:00
Johanna Stuber
83f34eb00b Tree test visit(absTerm) 2021-01-31 00:16:26 +01:00
Johanna Stuber
734bc02d9d Tree test visit(varTerm), implement TypeAbstraction::instantiate() 2021-01-30 22:51:14 +01:00
Johanna Stuber
2120fc4a4a Test for Tree::getFirstTypeVariable() 2021-01-30 14:54:47 +01:00
Johanna Stuber
daf33ec1a4 Test for TypeVariableFactory, refactor TypeVariableKind due to typo 2021-01-30 14:21:25 +01:00
Arne Keller
ee2b5dd8ff Parser: better error handling 2021-01-30 11:09:39 +01:00
Johanna Stuber
1b2f1a1cd6 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-01-30 10:41:26 +01:00
Johanna Stuber
4667dc89aa Paketbeschreibungen für parser, term, type, step 2021-01-30 10:41:15 +01:00
Arne Keller
e25a947621 Formatting: tabs -> spaces 2021-01-30 10:37:27 +01:00
Arne Keller
b716b204b3 Unification tests, miscellaneous code style fixes 2021-01-30 10:32:15 +01:00
Arne Keller
dee5e2b3f0 Type: constrainEqualTo* implementation 2021-01-30 09:50:38 +01:00
uogau
aafb8ead44 FunctionType: substitute angepasst 2021-01-30 09:41:56 +01:00
uogau
2adc72cf74 Kleine Änderungen 2021-01-30 09:37:01 +01:00
uogau
0f5531ef47 NamedType angepasst 2021-01-30 09:28:48 +01:00
uogau
1846f9d349 FunctionType und Presenter angepasst, Test geschrieben 2021-01-29 13:20:45 +01:00
Arne Keller
4e5488e1eb Include token in ParseError + more error handling 2021-01-29 09:40:35 +01:00
Arne Keller
d7affc2999 Fix code style issues
Source: SonarLint :)
2021-01-29 08:37:48 +01:00
Arne Keller
84e8cf07f7 Actually consider @NonNullFields and @NonNullApi 2021-01-29 08:22:06 +01:00
Arne Keller
878130ebba Handle empty lambda term in parser 2021-01-29 08:12:45 +01:00
Johanna Stuber
785ce3dcc8 create type assumptions for free varibales in TypeInferer
for this add getFreeVaribales() in lambda term
and enum TypeVaribaleKind
2021-01-28 22:24:41 +01:00
Johanna Stuber
ce06a19b1e package-info model mit NonNull annotations 2021-01-28 18:03:54 +01:00
uogau
5ed813133c Type-Paket 2021-01-28 16:36:38 +01:00
Johanna Stuber
3c72a5004c Tree visit(varTerm), dafür Konstruktor von VarStep erweitert 2021-01-28 12:40:49 +01:00
Johanna Stuber
73516eb3b0 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-01-28 11:08:20 +01:00