Commit graph

469 commits

Author SHA1 Message Date
Joshua Warner
a4a244cda0 migrate header + some module tests 2021-11-14 18:36:52 -08:00
Joshua Warner
6465a4031e delete old tests 2021-11-14 18:34:40 -08:00
Joshua Warner
d661646748 Fix test formatting and actually assert that they pass 2021-11-14 18:31:44 -08:00
Joshua Warner
64ad486c10 automatically export snapshot tests 2021-11-14 18:20:21 -08:00
Joshua Warner
6fab6e20f5 Fix clippy 2021-11-14 10:40:09 -08:00
Joshua Warner
fb960d98b8 Remove unused macros 2021-11-14 10:14:53 -08:00
Joshua Warner
6c82b1789a Convert effects to collection_trailing_sep_e 2021-11-14 10:14:53 -08:00
Joshua Warner
8c8bc910fd Convert exposes_modules to collection_trailing_sep_e 2021-11-14 10:14:53 -08:00
Joshua Warner
c4e70ca7aa Convert exposes_values to ccollection_trailing_sep_e 2021-11-14 10:14:53 -08:00
Joshua Warner
71cc8d4c4b Convert requires_rigids to collection_trailing_sep_e 2021-11-14 10:14:53 -08:00
Joshua Warner
df89fe7dd6 Make provides a Collection 2021-11-14 10:14:53 -08:00
Joshua Warner
d67b6c50b1 Allow trailing comments in provides decl 2021-11-14 10:14:53 -08:00
Joshua Warner
23c75d2699 Allow trailing comments in imports decl 2021-11-14 10:14:53 -08:00
Joshua Warner
c10f403c94 Allow trailing comments in exposes decl 2021-11-14 10:14:52 -08:00
Joshua Warner
3ff3695758 Add a manual Debug formatter for Collection to make debugging nicer 2021-11-13 16:24:35 -08:00
Joshua Warner
9bf1674946 Shrink Collection to make parse_expr_size test pass 2021-11-13 16:17:44 -08:00
Joshua Warner
1fabc64fdf Use Collection in Expr::TagUnion 2021-11-13 07:38:39 -08:00
Joshua Warner
d63405d824 Make Expr::List use a Collection 2021-11-13 07:38:11 -08:00
Joshua Warner
a4ca6a31a6 Use Collection in Expr::Record and related places 2021-11-13 07:36:05 -08:00
Joshua Warner
9a74ca441d Name all "error" enums in the parser starting with E 2021-11-12 08:38:29 -08:00
Joshua Warner
8a54bb6f6b fmt 2021-11-11 19:15:07 -08:00
Joshua Warner
4df0880e7a Commit local changes (whoops!) 2021-11-11 18:57:26 -08:00
Joshua Warner
04d4a8ca79 Introduce Collection as a general abstraction in the ast 2021-11-11 14:49:33 -08:00
Joshua Warner
6a694b7772 Use collection_trailing_sep_e for packages decl, to allow trailing commas there 2021-11-10 18:49:19 -08:00
Joshua Warner
6d4f3f4da7 Allow parsing a single newline/comment in empty list 2021-11-09 07:33:36 -08:00
Brendan Hansknecht
73e2cbcb1e Make versions numbers consistent and matching the lock files 2021-11-06 13:24:45 -07:00
Brendan Hansknecht
d49ac68bcc Update dep with major version changes 2021-11-05 19:19:37 -07:00
Joshua Warner
6a30e422da Remove unused spaces_till_end_of_line / chomp_line_comment functions from the parser 2021-11-02 20:28:16 -07:00
Anton-4
c7c421b2f5 fixed scope lookup bug 2021-10-19 16:45:28 +02:00
Anton-4
a272765fc7 started using scope properly, improved error backtrace conversion 2021-10-16 19:37:20 +02:00
Anton-4
169520f956 Merge branch 'trunk' of github.com:rtfeldman/roc into editor-let-value 2021-08-21 12:05:59 +02:00
Anton-4
5ed5e2e6ee fmt 2021-08-18 18:50:39 +02:00
Anton-4
5023fa3e75 progress on setting up def parser for top level defs 2021-08-16 20:05:21 +02:00
Richard Feldman
267836226c s/CodePoint/CodePt/g 2021-08-07 21:46:20 -04:00
Folkert
d4896d3ed2 remove inlinable_string dependency 2021-08-03 21:24:19 +02:00
Richard Feldman
538cb3fe10 Rename parse_ident_help to parse_ident 2021-08-01 10:23:16 -04:00
Folkert
e0648d348d new formatting 2021-07-30 17:13:50 +02:00
Folkert
899cbeabd7 fix extra ampersands 2021-07-29 17:32:08 +02:00
Richard Feldman
53ccef0506 nightly clippy
I was on nightly for benchmarks, and these all seem reasonable.
2021-06-18 15:21:11 -04:00
Anton-4
314503cf7f fixed typos, added typos checking to CI 2021-06-05 20:02:54 +02:00
Richard Feldman
a7518a675a Clean up some clippy warnings 2021-05-23 20:28:23 -04:00
Folkert
fecb83b9c2 fixes 2021-05-07 11:00:15 +02:00
Basile Henry
f6179404d1 Remove dependency on test module 2021-05-03 15:21:55 +02:00
Folkert
700e7d9686 parse expect 2021-04-22 23:00:44 +02:00
Folkert
50942325b9 add expect keyword 2021-04-22 21:17:09 +02:00
Richard Feldman
0a50b0b488 Change license to UPL-1.0
Closes https://github.com/rtfeldman/roc/issues/1199
2021-04-21 19:18:44 -04:00
Folkert
383f35db5a bump bumpalo 2021-04-18 14:36:47 +02:00
Folkert
c68cd2fb2d fix and test 2021-04-14 22:03:03 +02:00
Folkert
64bc92c746 basic parsing 2021-04-14 13:03:31 +02:00
Folkert
2bb1f2cca7 improve error reporting for underscore expr 2021-04-12 20:48:58 +02:00