Commit graph

263 commits

Author SHA1 Message Date
Joshua Warner
04d4a8ca79 Introduce Collection as a general abstraction in the ast 2021-11-11 14:49:33 -08:00
Joshua Warner
6d4f3f4da7 Allow parsing a single newline/comment in empty list 2021-11-09 07:33:36 -08:00
Eric Correia
8272ea876f Get it all to compile! 2021-10-02 13:48:07 -04:00
Eric Correia
dc2016dc0d Start single-quote literal parser work 2021-08-15 11:08:05 -04:00
Richard Feldman
538cb3fe10 Rename parse_ident_help to parse_ident 2021-08-01 10:23:16 -04: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
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
2bb1f2cca7 improve error reporting for underscore expr 2021-04-12 20:48:58 +02:00
Folkert
28ba645121 parse underscores in expressions 2021-04-11 21:02:31 +02:00
Eric Correia
c827b52aba Merge branch 'trunk' of github.com:rtfeldman/roc into type-start-parse-error 2021-03-30 08:38:34 -04:00
Folkert
132ba77a47 fix comment mistaken for doc test 2021-03-25 21:41:19 +01: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
ef211ce49a clippy 2021-03-21 22:15:47 +01:00
Folkert
197835b6ed remove nested in expr 2021-03-21 20:56:18 +01:00
Folkert
8d80dc97c8 better error message for type start 2021-03-21 15:50:32 +01:00
Folkert
03fab9297c shrink stack size usage for parse Expr 2021-03-20 23:37:36 +01:00
Folkert
1871697b0f remove BinOp variant 2021-03-20 23:01:12 +01:00
Folkert
dcf1481ca1 no empty binops 2021-03-20 21:56:22 +01:00
Folkert
d5ec66244f use new binops 2021-03-20 21:19:10 +01:00
Folkert
e0c211081a remove update field from normal Record constructor 2021-03-20 16:49:14 +01:00
Folkert
60265b5d2a add dedicated RecordUpdate tag to parse ast 2021-03-20 16:06:07 +01:00
Folkert
d22acb521e use record for PrecedenceConflict 2021-03-20 15:07:15 +01:00
Folkert
eef1cb2a69 use multi-backpassing in base64 example 2021-03-19 00:27:34 +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
160fb7c23f cleanup 2021-03-18 15:16:24 +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
2fc9d20867 cleanup 2021-03-17 21:14:19 +01:00
Folkert
35e7f01362 simplify expr in parens 2021-03-17 21:11:37 +01:00
Folkert
e49860c1cd cleanup 2021-03-17 20:51:53 +01:00
Folkert
67c68c6b11 simplify record parsing 2021-03-17 20:49:49 +01:00
Folkert
ec8dd5c3d3 def parsing cleanup 2021-03-17 17:36:00 +01:00
Folkert
38d925fea6 use new def parser for module defs 2021-03-17 17:28:27 +01:00
Folkert
53a0f4f9a5 make def helper to optionally parse final expr 2021-03-16 23:37:36 +01:00
Folkert
f84f428960 fix comment 2021-03-16 23:11:10 +01:00
Folkert
5adeedba9d cleanup 2021-03-15 23:51:06 +01:00
Folkert
6d746269fc clippy 2021-03-15 23:17:00 +01:00
Folkert
301f02172e def parsing does not need to consider backpassing 2021-03-15 23:06:28 +01: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
41bfb0b69a all tests working again 2021-03-15 21:49:19 +01:00
Folkert
f57707c651 so close 2021-03-15 17:04:14 +01:00
Folkert
b18bd26067 cleanup 2021-03-15 13:27:23 +01:00
Folkert
9442914fb6 parse basic def 2021-03-15 13:24:26 +01:00
Folkert
240df052c5 parse leading unary minus again 2021-03-14 23:28:56 +01:00