Commit graph

121 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
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
9bf1674946 Shrink Collection to make parse_expr_size test pass 2021-11-13 16:17:44 -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
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
d49ac68bcc Update dep with major version changes 2021-11-05 19:19:37 -07: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
Anton-4
314503cf7f fixed typos, added typos checking to CI 2021-06-05 20:02:54 +02:00
Folkert
700e7d9686 parse expect 2021-04-22 23:00:44 +02:00
Folkert
c68cd2fb2d fix and test 2021-04-14 22:03:03 +02:00
Folkert
28ba645121 parse underscores in expressions 2021-04-11 21:02:31 +02:00
Folkert
c79a691400 fix tests 2021-04-11 17:27:08 +02:00
Richard Feldman
ab7d2d5912 Clean up some dbg calls 2021-04-11 09:44:59 -04:00
Folkert
9273c74c70 another attempt to tame this grammar 2021-03-25 21:18:26 +01:00
Folkert
369f1b7cbb don't lie about progress 2021-03-25 15:08:02 +01:00
Folkert
2a0c5c669b fiddling with the when parser 2021-03-24 22:55:01 +01:00
Folkert
03fab9297c shrink stack size usage for parse Expr 2021-03-20 23:37:36 +01:00
Folkert
dd5e13ae25 update tests 2021-03-20 22:12:35 +01:00
Folkert
e0c211081a remove update field from normal Record constructor 2021-03-20 16:49:14 +01:00
Folkert
73e6128ce3 parse multi-backtracking 2021-03-19 00:10:02 +01:00
Folkert
85309444e1 pass MultiBacktracking options 2021-03-18 20:27:40 +01:00
Folkert
b9069716f9 fix multi def test 2021-03-18 15:31:20 +01:00
Folkert
dc7c384b49 expose less 2021-03-18 14:52:37 +01:00
Folkert
3b647274dc refactor 2021-03-18 14:50:21 +01:00
Folkert
67c68c6b11 simplify record parsing 2021-03-17 20:49:49 +01:00
Folkert
38d925fea6 use new def parser for module defs 2021-03-17 17:28:27 +01:00
Richard Feldman
84e65da5e7 cargo fmt 2021-03-15 21:09:53 -04:00
Richard Feldman
e7524d30f9
Drop obsolete dbg! 2021-03-15 21:05:53 -04:00
Folkert
1b4a6aee04 another backpassing test 2021-03-15 23:01:59 +01:00
Folkert
66e7e3bc5e parse single backpassing 2021-03-15 22:50:34 +01:00
Folkert
f57707c651 so close 2021-03-15 17:04:14 +01:00
Folkert
d2251cced2 only region within parens for unary ops 2021-03-12 23:22:48 +01:00
Folkert
376d4431ab correct parsing of unary applies 2021-03-12 23:15:04 +01:00
Folkert
703a8de72f basic structure 2021-03-12 22:21:27 +01:00
Folkert
4e4854ceaa remove unneeded argument 2021-03-12 02:48:07 +01:00
Folkert
f5284d1db7 new space parser 2021-03-12 00:33:08 +01:00