Commit graph

409 commits

Author SHA1 Message Date
Eric Correia
c827b52aba Merge branch 'trunk' of github.com:rtfeldman/roc into type-start-parse-error 2021-03-30 08:38:34 -04:00
Richard Feldman
3f76c6314c
Merge branch 'trunk' into ir-cleanup 2021-03-26 12:59:32 -04:00
Richard Feldman
41614c9957 Appease clippy 2021-03-26 08:39:06 -04:00
Richard Feldman
eadb28b95d Replace a bunch of Into impls with Froms 2021-03-26 08:39:01 -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 de Vries
5f36da98ee
Merge branch 'trunk' into ir-cleanup 2021-03-25 15:08:54 +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
4418a99c89 include header in fatal parse errors 2021-03-23 16:14:20 +01:00
Folkert
ef211ce49a clippy 2021-03-21 22:15:47 +01:00
Folkert
f3318fbc2f more Copy 2021-03-21 21:38:11 +01:00
Folkert
ce98da9d04 remove Nested from Def 2021-03-21 21:14:32 +01:00
Folkert
52854a6f57 make Def and TypeAnnotation Copy 2021-03-21 21:08:16 +01:00
Folkert
f3fc9f450f make ast::Expr Copy 2021-03-21 21:05:36 +01:00
Folkert
2827af7e59 remove Nested from pattern 2021-03-21 21:03:37 +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
dd5e13ae25 update tests 2021-03-20 22:12:35 +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
0e7106280c bump allocate precedence conflict 2021-03-20 15:59:06 +01:00
Folkert
9208000316 only store start position for PrecedenceConflict 2021-03-20 15:34:08 +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
e7099a1525 un-ignore some tests 2021-03-18 16:02:22 +01:00
Folkert
b9069716f9 fix multi def test 2021-03-18 15:31:20 +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
1434ab6ed7 Merge remote-tracking branch 'origin/trunk' into expression-move 2021-03-16 23:11:26 +01:00
Folkert
f84f428960 fix comment 2021-03-16 23:11:10 +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
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