Commit graph

424 commits

Author SHA1 Message Date
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
Folkert
28ba645121 parse underscores in expressions 2021-04-11 21:02:31 +02:00
Richard Feldman
ce61fba122
Merge pull request #1181 from rtfeldman/make-shebang-work
accept comments before the header
2021-04-11 11:58:04 -04:00
Richard Feldman
459c3dffec
Merge pull request #1180 from rtfeldman/licenses
Simplify authors in Cargo.toml for all crates
2021-04-11 11:57:31 -04:00
Folkert
c79a691400 fix tests 2021-04-11 17:27:08 +02:00
Folkert de Vries
3d75410ddf
Merge branch 'trunk' into make-shebang-work 2021-04-11 17:22:24 +02:00
Folkert
1977e36459 accept comments before the header 2021-04-11 17:14:48 +02:00
Richard Feldman
ab7d2d5912 Clean up some dbg calls 2021-04-11 09:44:59 -04:00
Richard Feldman
792a18816a Update authors in Cargo.toml 2021-04-11 08:11:52 -04:00
Folkert
e85540e5f5 fix more indent problems 2021-04-05 14:31:50 +02:00
Folkert
c8e554e119 fix indent issue when parsing tag unions 2021-04-05 14:10:49 +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
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