Commit Graph

20766 Commits

Author SHA1 Message Date
Anton-4
85ce321c4d
Merge pull request #4347 from roc-lang/benchmarks-to-nix
moved earthly benchmarks to nix
2022-11-02 14:36:20 +01:00
Richard Feldman
ecbb8be61d
Merge pull request #4448 from roc-lang/list-patterns-decision-tree
Decision tree compilation of list pattern matches
2022-11-01 19:26:54 -07:00
Richard Feldman
fb39dfa551
Merge pull request #4445 from roc-lang/tutorial-tag-unions
Update tag unions portion of tutorial
2022-11-01 17:16:36 -07:00
Folkert de Vries
190a3c2a6f
Merge pull request #4124 from roc-lang/windows-tests
WIP windows: build tests, run some tests
2022-11-01 22:32:55 +01:00
Ayaz Hafiz
2d20c3b339
Allow too many args 2022-11-01 15:42:24 -05:00
Ayaz Hafiz
822aa71a0a
Compute list element stores lazily 2022-11-01 15:37:36 -05:00
Ayaz Hafiz
27b9dd8253
Simplify arity and branching calculation 2022-11-01 15:33:23 -05:00
Ayaz Hafiz
0706615d29
Decision tree compilation of suffixed list patterns 2022-11-01 15:22:31 -05:00
Ayaz Hafiz
b0edcc9af4
Add base gen tests for list matching compilation 2022-11-01 15:22:31 -05:00
Ayaz Hafiz
45f7cd5ad7
Make sure to update path of matched list 2022-11-01 15:22:31 -05:00
Ayaz Hafiz
ae71c7efe2
Decision tree compilation of list patterns 2022-11-01 15:22:31 -05:00
Ayaz
da1d937277
Merge pull request #4352 from roc-lang/i4349
Support monomorphic captures of body-polymorphic expressions in closures
2022-11-01 15:21:30 -05:00
Ayaz
0f4420e85e
Merge pull request #4447 from roc-lang/list-patterns-exhaustiveness
Exhaustiveness checking for list pattern matches
2022-11-01 15:19:42 -05:00
Folkert de Vries
b143183ba8
Merge pull request #4442 from roc-lang/better_errors
centralized commands, better errors, link build command refactoring
2022-11-01 21:10:37 +01:00
Anton-4
a850a333bc
removed cli_run test
Some debug info version message popped up in stderr causing the test to fail.

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-11-01 20:47:56 +01:00
Richard Feldman
9156a323ea
Revise empty tag union tutorial content 2022-11-01 15:38:35 -04:00
Richard Feldman
2c216276b3
Revise tag union tutorial 2022-11-01 15:21:12 -04:00
Richard Feldman
62bc37e7f7
Drop some trailing spaces from ends of lines 2022-11-01 15:17:49 -04:00
Anton-4
ea8895c0b3
typo
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-11-01 18:52:52 +01:00
Ayaz Hafiz
4b549ab24e
Apply clippy suggestions 2022-11-01 12:37:10 -05:00
Ayaz Hafiz
1d73560182
Add some more tests 2022-11-01 12:16:11 -05:00
Ayaz Hafiz
56bf50c331
Improve list pattern matching documentation 2022-11-01 12:07:00 -05:00
Ayaz Hafiz
7652ea2828
Add more documentation 2022-11-01 12:07:00 -05:00
Ayaz Hafiz
f696e8dd29
Clarify comment 2022-11-01 12:07:00 -05:00
Ayaz Hafiz
342f9f2e02
Add correct redundancy checking and tests for list patterns 2022-11-01 12:07:00 -05:00
Ayaz Hafiz
17920911e4
Implement list exhaustiveness checking 2022-11-01 12:07:00 -05:00
Ayaz Hafiz
62edf9547e
Better printing of list patterns 2022-11-01 12:07:00 -05:00
Ayaz Hafiz
99a4e21618
Improve exhaustiveness checking heuristics for list patterns 2022-11-01 12:07:00 -05:00
Ayaz Hafiz
a58d128d9e
Cover mode when unifying variable slices 2022-11-01 12:06:59 -05:00
Ayaz Hafiz
08d04e8c79
Update reporting tests 2022-11-01 12:06:59 -05:00
Ayaz Hafiz
92a3c48ce5
Implement sketching and pattern specialization for list patterns 2022-11-01 12:06:59 -05:00
Ayaz Hafiz
fbdf76e490
Report type errors in list pattern matches 2022-11-01 12:06:59 -05:00
Ayaz Hafiz
f9cb71fcf7
Report list element pattern type mismatches 2022-11-01 12:06:59 -05:00
Ayaz Hafiz
283f6e8e1e
Give localized region for expected list elem pattern 2022-11-01 12:06:59 -05:00
Anton-4
dbe45c26d0
enable more windows tests 2022-11-01 17:36:53 +01:00
Anton-4
d7759bad16
Merge branch 'main' of github.com:roc-lang/roc into windows-tests 2022-11-01 17:27:51 +01:00
Ayaz
cb61f51814
Merge pull request #4441 from roc-lang/can-list-patterns
Canonicalization + Constraining of list patterns
2022-11-01 09:13:08 -05:00
Anton-4
de99d7b385
fix cache env var
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-11-01 13:58:45 +01:00
Anton-4
05d48ec5d4
fixed macos retry zig 2022-11-01 09:32:36 +01:00
Brian Carroll
9ebf934ee7
Merge pull request #4444 from roc-lang/windows-cli-tests
Windows cli tests
2022-11-01 06:43:23 +00:00
Richard Feldman
d0fe108564
Update AUTHORS 2022-10-31 20:58:26 -04:00
Richard Feldman
50d9755758
Merge pull request #4429 from austinclem1/main
add missing indent when formatting single-quoted char in pattern
2022-10-31 17:56:06 -07:00
Richard Feldman
5e00522a47
Merge pull request #4443 from joshuawarner32/move-min_indent-to-parse-pr
Refactor Parser trait to pass min_indent
2022-10-31 17:46:05 -07:00
Richard Feldman
8b4aebd7a5
Merge branch 'main' into tutorial-tag-unions
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2022-10-31 17:41:01 -07:00
Richard Feldman
2456884f6f
Some more tweaks to tag union docs 2022-10-31 20:32:50 -04:00
Richard Feldman
fdbba862bd
Update docs on returned tag unions 2022-10-31 20:25:42 -04:00
Folkert
a44cd68419
update comments 2022-10-31 23:56:53 +01:00
Folkert
bb893a70a0
actually put in the chkstk helper 2022-10-31 23:47:06 +01:00
Folkert
708de4136b
add assembly bytes for ___chkstk_ms 2022-10-31 23:28:14 +01:00
Ayaz Hafiz
9ab5d0efb8
Constraining of list patterns 2022-10-31 17:05:08 -05:00