Brian Carroll
85ba3154ec
wasm: fix roc_panic message retrieval
2022-03-01 18:47:51 +00:00
Anton-4
35b0715364
hopefully last fmt
2022-03-01 16:52:00 +01:00
Brendan Hansknecht
2801699ffc
fix warnings
2022-02-28 17:10:14 -08: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
Brian Carroll
21a3ed4258
wasm: fix dead code elimination in the case where there are live imports
2022-02-28 21:51:07 +00:00
Brendan Hansknecht
facfe9cffc
re-enable freeing all to stack
2022-02-28 11:05:16 -08:00
Brendan Hansknecht
72cc0e4f38
cleanup join points
2022-02-28 10:38:38 -08:00
Anton-4
5ec2125ac6
Merge branch 'trunk' into windows_fixes
2022-02-28 19:12:18 +01:00
Anton-4
5f865a4a0c
fmt
2022-02-28 18:18:41 +01:00
Brendan Hansknecht
b53a53adbd
fix list get unsafe
2022-02-28 09:11:36 -08:00
Anton-4
6acd2f338b
successful cargo build on windows
2022-02-28 18:11:14 +01:00
Brendan Hansknecht
3b77f5c235
fix stack size being too small in branches
2022-02-28 08:41:21 -08:00
Brendan Hansknecht
90e44003fc
fix infinite looping
2022-02-28 08:17:34 -08: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
Anton-4
784894bb8f
fixing windows cargo build errors
2022-02-28 13:48:11 +01:00
Brendan Hansknecht
442d0e3bff
expand arg support
2022-02-28 01:03:31 -08:00
Brendan Hansknecht
20e792c174
fix pointer cast
2022-02-28 00:53:57 -08:00
Brendan Hansknecht
151b5c9336
generate nested rc procs
2022-02-28 00:49:28 -08:00
Brendan Hansknecht
06c3376577
fix some storage issues around jumps
2022-02-28 00:05:12 -08:00
Brendan Hansknecht
069361a07e
first attempt at List.replace in the dev backend
2022-02-27 22:02:47 -08:00
Brendan Hansknecht
a5ce124bd3
Merge branch 'list-replace' into gen-dev/quicksort2
2022-02-27 20:42:45 -08: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
Brian Carroll
8d484e8c9e
wasm: tests read panic message from a global pointer
2022-02-28 00:53:01 +00:00
Brian Carroll
4e7c1fe5e1
wasm: simplify ElementSection
2022-02-27 23:58:02 +00:00
Brendan Hansknecht
2ca1ebdd2d
appease the paperclip
2022-02-27 15:50:19 -08:00
Brian Carroll
7958158d89
wasm: comments & renaming
2022-02-27 23:42:05 +00: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
Brian Carroll
7ccc5ec768
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-runtime-error
2022-02-27 22:57:23 +00: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
Brian Carroll
07748b2b86
builtins: change mv
to cp
to prevent wasm build from crashing
2022-02-27 12:40:04 +00:00
Brendan Hansknecht
4d42d81c63
add broken attempt to get list.set to use list.replace under the hood
2022-02-27 01:21:02 -08:00
Brendan Hansknecht
d9e9c28889
add error test case
2022-02-27 00:45:51 -08:00