Commit graph

7069 commits

Author SHA1 Message Date
Folkert
a53a5b718e
clippy 2022-03-03 10:36:18 +01:00
Folkert
3d30bcef03
store filenames out of band 2022-03-03 10:13:52 +01:00
Folkert
da89152fef
fix static assert 2022-03-03 08:32:32 +01:00
Folkert
760331829f
deduplicate categories 2022-03-02 22:05:38 +01:00
Folkert
38d3d3169a
drop final suffixes 2022-03-02 21:30:38 +01:00
Folkert
828483393a
move expr/pattern constraint gen 2022-03-02 21:25:13 +01:00
Folkert
546afc9661
drop soa suffix 2022-03-02 21:21:37 +01:00
Folkert
0eb98a4c59
move over constraint 2022-03-02 21:19:58 +01:00
Folkert
8d2e0a738c
exploiting exactsizeiterator 2022-03-02 21:08:14 +01:00
Folkert
54c6292b4b
clippy 2022-03-02 20:59:51 +01:00
Folkert
289e1a7ae1
fix ordering bug 2022-03-02 20:57:55 +01:00
Folkert
c52029c2d1
the debugging begins 2022-03-02 20:30:42 +01:00
Folkert
73bd647a7d
constrain module stuff 2022-03-02 19:56:30 +01:00
Folkert
fe48bdf5b1
make solve that uses new constraint 2022-03-02 19:43:03 +01:00
Folkert
2598e8fe8c
Merge remote-tracking branch 'origin/trunk' into constraints-soa 2022-03-02 19:10:58 +01:00
Folkert
36c2b78c30
fix copy paste mistake 2022-03-02 19:08:42 +01:00
Folkert
0be23e23da
implement save the environment check 2022-03-02 18:59:13 +01:00
Folkert
a4889fd571
we are compiling 2022-03-02 18:48:34 +01:00
Folkert
01a7fe77d4
even more wip 2022-03-02 17:32:50 +01:00
Folkert
b8fd6992a2
More wip 2022-03-02 15:29:45 +01:00
Folkert
ec099bbdec
WIP 2022-03-02 14:46:30 +01:00
Brendan Hansknecht
0ae0e689fc
Merge pull request #2602 from rtfeldman/list-replace
List replace
2022-03-01 23:29:32 +00:00
Folkert
fd8dfd284d
add Index and Slice to collections 2022-03-01 22:41:46 +01:00
Folkert
d54c98e1aa
Merge remote-tracking branch 'origin/trunk' into constraints-soa 2022-03-01 22:39:51 +01:00
Folkert
6fae7039c2
remove unused function 2022-03-01 21:56:10 +01:00
Folkert
19d7f7ce09
make vars-by-symbol a vector 2022-03-01 21:51:25 +01:00
Richard Feldman
887a07b455
Merge pull request #2596 from rtfeldman/joshuawarner32/listclosing-braces
Allow closing braces in collections to be at any indent level
2022-02-28 20:00:44 -05:00
Folkert
8b457a56c5
reduce cloning of Env 2022-03-01 00:08:56 +01:00
Folkert
d3bbf6d504
struct of arrays! 2022-03-01 00:00:50 +01:00
Folkert
1ef9546391
use Vec instead of MutMap 2022-02-28 23:54:35 +01:00
Folkert
9d82f795b7
make it abstract 2022-02-28 23:43:58 +01:00
Folkert
751ae125a5
remove aliases from solve Env 2022-02-28 23:41:07 +01:00
Folkert
c18befeccf
short-circuit aliases 2022-02-28 23:37:33 +01:00
Folkert de Vries
f30c07edd0
Merge pull request #2604 from rtfeldman/early-exhaustiveness-checking
Move out exhaustiveness checking to its own crate
2022-02-28 14:44:42 +01:00
Richard Feldman
8ec7b26a1c
Merge pull request #2547 from rtfeldman/simplify-editor
simplify editor
2022-02-27 21:43:09 -05:00
ayazhafiz
a62fd31ab6 Fix new clippy warnings 2022-02-27 20:41:07 -05:00
ayazhafiz
27a50a3e6b exhaustive_wrap -> exhaustive 2022-02-27 20:30:13 -05:00
ayazhafiz
b9a29bdb16 Make exhaustive checking its own crate
Prepares for moving exhaustiveness checking to the closer typechecking
phase. Doing this one step at a time so that git preserves the rename.
2022-02-27 20:28:25 -05:00
Brendan Hansknecht
2ca1ebdd2d appease the paperclip 2022-02-27 15:50:19 -08:00
Brendan Hansknecht
457ba524aa fix tests and alias analysis 2022-02-27 15:20:54 -08:00
Brendan Hansknecht
2e70bb8458 remove list set low level 2022-02-27 15:07:09 -08:00
hafiz
d334ea301d
Merge pull request #2600 from rtfeldman/solve-worklist
Transition `solve` to use a worklist rather than always recursing
2022-02-27 17:36:25 -05:00
Folkert
81e45b1e2f
make List.set use List.replace under the hood 2022-02-27 22:47:26 +01:00
Folkert
78fe734113
change the return type of List.replace 2022-02-27 22:47:08 +01:00
ayazhafiz
01da425851 Simplify solve worklist substantially 2022-02-27 16:41:31 -05:00
ayazhafiz
56d4dc3480 Transition solve to use a worklist rather than always recursing
This should unblock some of @folkertdev's work on transitioning builtins
to pure Roc code. It's not perfect yet (we still make some recursions),
but it's a step, and it should avoid recursing on `Let`
`ret_constraint`s, which caused stack overflows when they became really
long before.
2022-02-27 15:51:19 -05:00
Richard Feldman
84ada96b63
Revise Str parsing primitives 2022-02-27 15:30:27 -05:00
Brian Carroll
dcf3c052af
Merge pull request #2594 from rtfeldman/wasm-repl-fixes
Wasm REPL bug fixes
2022-02-27 18:40:47 +00:00
ayazhafiz
cf628ed4ef Fix clippy warning 2022-02-27 12:21:20 -05:00
ayazhafiz
720b7b49d2 Improve error pattern and fix tests 2022-02-27 12:01:12 -05:00