Commit graph

197 commits

Author SHA1 Message Date
Folkert
9edbf322c0 error message for when 2021-02-20 22:08:53 +01:00
Folkert
3a35bcb3cb clippy 2021-02-20 19:31:49 +01:00
Folkert
9f60ba2557 fix region issue in record fields 2021-02-20 19:15:08 +01:00
Folkert
576b7974e8 if guard empty condition message 2021-02-20 16:30:56 +01:00
Folkert
bcf87f5df6 branch result 2021-02-20 15:51:57 +01:00
Folkert
5f4f7f009c milestone: change pattern messages over 2021-02-20 15:34:32 +01:00
Folkert
e27be136cb progress on apply 2021-02-20 14:17:25 +01:00
Folkert
f6fac092a4 checkpoint 2021-02-20 13:47:01 +01:00
Folkert
e007430584 infra for record patterns 2021-02-20 01:08:25 +01:00
Folkert
70b5e18c21 start building pattern parser 2021-02-20 00:35:03 +01:00
Folkert
c8b7596c8c clippy 2021-02-12 15:28:51 +01:00
Folkert
870fd88165 remove Syntax variant on TInParens 2021-02-12 15:23:29 +01:00
Folkert
b204154fec improve messages for tag names 2021-02-12 15:22:11 +01:00
Folkert
19d3e43f09 better indentation errors (use original location for error) 2021-02-12 13:47:56 +01:00
Folkert
21efa8cd71 make expression return Type errors 2021-02-12 02:38:18 +01:00
Folkert
2db94cf4e8 transform expression 2021-02-12 02:37:54 +01:00
Folkert
d382988362 fix empty spaces being added 2021-02-12 02:21:12 +01:00
Folkert
0120d5d5a1 better errors for inline aliases 2021-02-12 02:04:51 +01:00
Folkert
18c3f60e85 type term produces a Type error 2021-02-12 01:03:04 +01:00
Folkert
cae74d7f74 checkpoint 3 2021-02-12 00:58:36 +01:00
Folkert
449f205781 checkpoint 2 2021-02-12 00:45:08 +01:00
Folkert
ba820a3179 checkpoint 2021-02-12 00:25:17 +01:00
Folkert
66b2dfe6f6 better errors for type variables 2021-02-11 22:45:20 +01:00
Folkert
c339f96244 better messages for types in parens and applied types 2021-02-11 21:48:19 +01:00
Folkert
f6d3b4ed93 refactor type in parens 2021-02-11 20:27:21 +01:00
Folkert
9aa0b0b020 tag union parse errors 2021-02-09 21:29:06 +01:00
Folkert
b7e4964be1 tab errors 2021-02-09 15:49:38 +01:00
Folkert
4e36d71c2f finish up TRecord 2021-02-09 02:51:14 +01:00
Folkert
963e7dee6a cleanup 2021-02-09 00:43:35 +01:00
Folkert
0ad975113c fix Bag import in tests 2021-02-08 23:40:50 +01:00
Folkert
8f83bb4518 clippy 2021-02-08 22:54:52 +01:00
Folkert
0ccf17007e keyword in record field 2021-02-08 22:39:12 +01:00
Folkert
860aa6d194 more error messages 2021-02-08 21:58:39 +01:00
Folkert
523df61622 first good parse error message 2021-02-08 20:56:02 +01:00
Folkert
2c9a80153d remove Bag 2021-02-08 00:33:29 +01:00
Folkert
ca04411523 fix tests/more uniq removal 2021-02-07 22:50:33 +01:00
Folkert
38b21c3474 add lifetime to SyntaxError 2021-02-07 22:26:55 +01:00
Folkert
148fffe969 parameterize Parser on an Error type 2021-02-07 22:08:28 +01:00
Folkert
ae09b0b311 optimize = symbol checking 2021-02-04 23:27:19 +01:00
Folkert
aac75c6a25 factor out backtracking in def parsing 2021-02-04 21:34:28 +01:00
Folkert
7a02bcda8d cleanup 2021-02-03 23:33:13 +01:00
Folkert
59f547b2be fix trailing whitespace 2021-02-03 23:06:18 +01:00
Folkert
db7e604643 clippy 2021-02-03 22:47:28 +01:00
Folkert
0016347866 test for parser failure (but with less detail) 2021-02-03 22:39:50 +01:00
Folkert
8c6a9c4144 working state 2021-02-03 22:32:27 +01:00
Folkert
d211ca7e61 WIP 2021-02-03 20:21:12 +01:00
Folkert
f6aa77e6a8 fix all gen and cli tests 2021-02-02 22:06:11 +01:00
Folkert
e643d1ea3c more backtracking 2021-02-02 18:47:58 +01:00
Folkert
d284d3bb72 all parse tests work! 2021-02-02 16:32:52 +01:00
Folkert
e83cb0d027 fix top level def 2021-02-02 16:24:21 +01:00