Commit graph

3354 commits

Author SHA1 Message Date
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
Richard Feldman
c7e7e74a46
Merge branch 'trunk' into zig-import-str 2021-02-02 00:03:52 -05:00
Chadtech
bec9e6ff53 Avoided memory leak problem, theres no real implementation beyond RocDict.empty so there is no need for memory allocation yet 2021-02-01 23:24:04 -05:00
Folkert
736fa73e88 fix headers and apply 2021-02-02 02:14:46 +01:00
Folkert
56f6770804 WIP 2021-02-02 01:56:50 +01:00
Folkert
8f5df8b7b8 fail when end of input is not reached by parser 2021-02-01 16:38:14 +01:00
Folkert
4524012b2c fix problem with spaces in patterns 2021-02-01 14:39:18 +01:00
Folkert
a79a9ea253 use the compiler's str.zig from platforms 2021-01-31 23:11:02 +01:00
Chadtech
ad0a22f257 Merging in remote 2021-01-31 15:52:33 -05:00
Chadtech
bb853d4b51 Use dict_entries_len instead of non-existent dict_len struct field 2021-01-31 15:51:57 -05:00
Chadtech
69fcbf70ea
Merge branch 'trunk' into dict 2021-01-31 15:46:22 -05:00
Folkert
3ccf6de2cf add branch info to switches 2021-01-31 20:36:40 +01:00
Folkert
ac3788ba85 fix tests 2021-01-31 18:51:12 +01:00
Folkert
76f9444e46 clippy 2021-01-31 17:11:16 +01:00