ucrhh
337a88d8f4
add newly created constraints to other end of constraint list in unification
2021-02-11 21:54:52 +01:00
Johanna Stuber
0fdc8d3509
delete accidentally pasted line
2021-02-11 15:20:37 +01:00
Johanna Stuber
ad99cc09b8
fix checkstyle
2021-02-11 15:17:51 +01:00
Johanna Stuber
8351a21f78
visitLet() test; for that add several equals()-methods; return constraints in right order in Tree::getConstraints()
2021-02-11 15:15:49 +01:00
Johanna Stuber
7e2357f2f2
use LinkedHashMap for typeAssumptions so they appear sorted in the tree
2021-02-11 10:12:17 +01:00
Arne Keller
c1ce7a9181
Fix type parser bug
2021-02-10 15:01:03 +01:00
ucrhh
cadc299791
partly fix issues with failing sub inference
2021-02-09 22:51:54 +01:00
Arne Keller
22705727cb
Misc. adjustments
...
Properties file was encoded using latin1 again!
The JaCoCo agent should not execute when running the server,
use mvn jacoco:prepare-agent test jacoco:report
when generating test coverage.
2021-02-08 09:52:09 +01:00
Arne Keller
a25bdfe3dd
More javadocs + Vaadin routing fixes
2021-02-06 15:57:53 +01:00
Johanna Stuber
6fa50cbf31
delete todo and comment, make long example inferrable
2021-02-06 10:58:12 +01:00
Arne Keller
c78d6b9e0a
Fix code style issues
2021-02-05 17:22:43 +01:00
Johanna Stuber
8d6842043d
only allow ascii characters in variable names
2021-02-05 11:27:36 +01:00
Johanna Stuber
742f934788
user input types of form t[0-9]+ parse to TypeVariable, everything else to NamedType
2021-02-04 20:54:00 +01:00
Johanna Stuber
ee18a3cba1
Generate steps withLet in every sub-inference of let terms
2021-02-04 19:31:06 +01:00
Johanna Stuber
49ee20baaa
if mgu has no substitution for alpha1, final type is alpha1
2021-02-04 16:50:36 +01:00
Johanna Stuber
a0e3eb34a2
LatexCreator for let and const
2021-02-04 13:16:09 +01:00
Johanna Stuber
8dc7fbe725
implement let in TypeInferers
2021-02-04 11:41:08 +01:00
Johanna Stuber
e4e4fca350
fix compiling errors after changing TypeAbstrarction's quantifiedVariables from list to set
2021-02-04 10:25:19 +01:00
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