Commit graph

3217 commits

Author SHA1 Message Date
Folkert
0ad975113c fix Bag import in tests 2021-02-08 23:40:50 +01:00
Folkert
f5a48237b7 Merge remote-tracking branch 'origin/trunk' into parse-param-error 2021-02-08 22:55:17 +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
09b3d40380 add repl support for parse errors 2021-02-08 21:09:53 +01:00
Folkert
523df61622 first good parse error message 2021-02-08 20:56:02 +01:00
Richard Feldman
7feada88e4
Merge branch 'trunk' into parser-with-progress 2021-02-08 00:11:04 -05:00
Jared Ramirez
f3d9c2f2bb Finish first pass of Str.fromUtf8 2021-02-07 20:04:10 -08:00
Jared Ramirez
815f633a58 [WIP] Setup rust side to call Str.fromUtf8 2021-02-07 20:04:10 -08:00
Jared Ramirez
d7ba522155 Inline all num functions 2021-02-07 20:01:45 -08:00
Jared Ramirez
8d73fcda7f Add zig function to check if bytes are valid unicode 2021-02-07 20:01:45 -08: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
309eff6edd remove uniq 2021-02-07 22:50:10 +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
8b3158aeba fix formatting 2021-02-07 02:38:11 +01:00
Folkert
c3a681d1f0 fix bug in list repeat type 2021-02-07 02:08:17 +01:00
Folkert
dc5eec189c report unexposed values 2021-02-07 01:17:46 +01:00
Folkert
31fc62b7f0 cleanup 2021-02-06 21:46:22 +01:00
Folkert
2d63e24843 make hash work for integers/floats/strings 2021-02-06 21:33:56 +01:00
Folkert
1afd64f7e7 fix Dict.empty 2021-02-06 19:26:09 +01:00
Folkert
da28486184 disable test helper 2021-02-04 23:28:33 +01:00
Folkert
ae09b0b311 optimize = symbol checking 2021-02-04 23:27:19 +01:00
Folkert
34c3a4147a add some bad parse error messages to tests, to track progress 2021-02-04 23:26:59 +01:00
Folkert
aac75c6a25 factor out backtracking in def parsing 2021-02-04 21:34:28 +01:00
Chadtech
97f6f95a76 Added too many arguments exception to some functions in file.rs for clippy 2021-02-04 01:27:59 -05:00
Chadtech
a1add5c1b3 Fix argument parity issues for some functions 2021-02-04 01:04:08 -05:00
Chadtech
68e3a10ff0 cargo fmt 2021-02-04 00:47:18 -05:00
Chadtech
a575ff22fa Merge branch 'trunk' of github.com:rtfeldman/roc into dict 2021-02-04 00:37:30 -05:00
Chadtech
ba5f87e149 Zig fmt 2021-02-04 00:37:27 -05:00
Folkert de Vries
438a2e6f83
Merge branch 'trunk' into parser-with-progress 2021-02-04 00:40:20 +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
7b4378219e defer empty record issues 2021-02-02 22:27:14 +01:00
Folkert
5ce8e3a9d6 make tests compile 2021-02-02 22:09:29 +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
Folkert
851f472167 make optional always backtrack on error 2021-02-02 16:04:06 +01:00
Folkert
872f83680f fix problem with negation/subtraction 2021-02-02 15:48:40 +01:00
Folkert
2def201a9a fix multiple consequtive defs 2021-02-02 15:26:00 +01:00
Folkert
95ebc8ded5 fix aliases and type annotations 2021-02-02 14:32:01 +01:00
Richard Feldman
1ae3b99b32
Merge branch 'trunk' into space-in-pattern 2021-02-02 00:04:27 -05:00