Commit Graph

635 Commits

Author SHA1 Message Date
Arne Keller
eff5e4340e Instantiate types in all tooltips
see #18
2021-07-26 10:40:40 +02:00
Arne Keller
19ec6cbc1a Increase ID of let inferred type variables
fixes #17
2021-07-26 10:06:56 +02:00
Moritz Dieing
c6d80d9324 Implement structure for explanation texts 2021-07-24 11:38:24 +02:00
Arne Keller
6403daad8d Fix checkstyle 2021-07-20 16:37:59 +02:00
Arne Keller
8c9f2ab67c Instantiate abs step
see #18
2021-07-20 15:02:29 +02:00
Arne Keller
2e2b39c13b Show constraint in tooltip
part of #18
2021-07-20 09:35:39 +02:00
Arne Keller
ed7ce73679 Friendly error message for "λx.x in x" 2021-07-19 11:24:57 +02:00
Arne Keller
35013bd819 Show correct tooltips for polymorphic steps
fixes #16
2021-07-19 11:21:54 +02:00
Arne Keller
08085ad44d Fix parse error for "s:()"
see #15
2021-07-19 11:13:10 +02:00
Arne Keller
5e6cb6ca4c Generate useful error for TA input "s"
see #15
2021-07-19 11:06:56 +02:00
Arne Keller
0285305f13 Refactor ParseError into object instead of enum
See #12
2021-07-19 10:56:46 +02:00
Moritz Dieing
7310eec398 Exchange and add example term 2021-07-18 14:25:21 +02:00
Moritz Dieing
bf31ae5096 Remove useless type assumption examples 2021-07-13 12:07:59 +02:00
Arne Keller
3fdec5ff1b Highlight new constraint on step hover 2021-07-12 11:41:12 +02:00
Arne Keller
ab86590a3b Attach index to steps 2021-07-12 11:16:52 +02:00
Arne Keller
b0288a1e3e Focus correct input field on syntax error
fixes #11
2021-07-12 10:09:20 +02:00
Moritz Dieing
ca2ea6c277 Correct typo 2021-07-11 12:02:54 +02:00
Moritz Dieing
0cf0333289 Tooltip back-button in exampleDialog 2021-07-11 12:01:15 +02:00
Moritz Dieing
478cd97706 Update integration tests 2021-07-11 11:54:15 +02:00
Arne Keller
301af06c69 Improve type assumption error messages
includes codestyle fixes
2021-07-10 13:01:06 +02:00
Arne Keller
8be024eb65 Update translations 2021-07-10 12:35:49 +02:00
Arne Keller
660fe2b5d1 Add test for #2 2021-07-10 12:28:13 +02:00
Arne Keller
f3f3bbb77d More tests for #9 2021-07-10 12:23:05 +02:00
Arne Keller
57064aa5f1 Translation for TokenType.COMMA 2021-07-10 12:18:54 +02:00
Arne Keller
2715179182 Fix syntax error return in parenthesised term
part of #9
2021-07-10 12:17:47 +02:00
Arne Keller
7d4c724338 Change type assumptions permalink format 2021-07-10 12:10:54 +02:00
Arne Keller
c9cc12e922 Remove ParseError.TOO_FEW_TOKENS
fix another case of #9
2021-07-09 13:10:12 +02:00
Arne Keller
4b4f38ad31 ErrorView: handle unexpected EOF token 2021-07-09 13:02:19 +02:00
Arne Keller
f87a6820cc Fix checkstyle 2021-07-09 12:56:22 +02:00
Arne Keller
e2c874de5f Scoping ID to highlight type variables
This should fix #10
2021-07-09 12:46:24 +02:00
Arne Keller
1b70e374ac Correctly scope variables in type assumptions 2021-07-09 12:46:04 +02:00
Arne Keller
394b5a3d23 Reject duplicate quantified type variables 2021-07-09 12:26:18 +02:00
Arne Keller
df218d8be8 Set content in LocaleChangeEvent listener 2021-07-09 12:18:26 +02:00
Moritz Dieing
5ddfb355c2 Update info dialog 2021-07-05 21:16:47 +02:00
Moritz Dieing
60235bd757 Separate example assumptions by commas 2021-07-05 21:14:21 +02:00
Arne Keller
d1ea244254 Merge remote-tracking branch 'origin/master' 2021-07-05 19:03:40 +02:00
Arne Keller
6c9aca3eb6 Add test for part of #9 2021-07-05 19:03:05 +02:00
Moritz Dieing
5eb5cd1a6e Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-07-05 18:01:40 +02:00
Moritz Dieing
1581985400 Add type assumption examples 2021-07-05 18:01:38 +02:00
Arne Keller
c28576175a Merge remote-tracking branch 'origin/master' 2021-07-05 12:28:45 +02:00
Arne Keller
df3f24548a Use state machine to parse type assumptions 2021-07-05 12:21:55 +02:00
Arne Keller
93ec136970 Show expected input in UI 2021-07-05 09:22:55 +02:00
Arne Keller
f6d0777fd0 Save expected input type in ParseError 2021-07-05 09:14:51 +02:00
Arne Keller
9c8d9423fc Add test for 7fb33b8 2021-07-05 08:58:40 +02:00
Arne Keller
8dd5753ee0 Highlight each type variable separately 2021-07-05 08:58:23 +02:00
Arne Keller
a0ae4f08b6 Fix type assumption highlight in let
Previously, (let g = λx.x in g) g was highlighted incorrectly
2021-07-05 08:58:08 +02:00
uogau
6f2c6b3481 Error messages now show whether the error is in the Term or the Type Assumptions 2021-07-02 16:46:01 +02:00
uogau
7243719667 Merge remote-tracking branch 'origin/master' 2021-07-02 16:10:59 +02:00
uogau
700f4bbde5 Error messages for Type Assumptions now show up correctly 2021-07-02 16:10:49 +02:00
Arne Keller
116aea51c3 Replace variables in MGU properly 2021-07-02 15:13:10 +02:00