Commit graph

23468 commits

Author SHA1 Message Date
Folkert
13d0b75bc1
Merge remote-tracking branch 'origin/main' into expect-print-values 2022-12-08 23:42:03 +01:00
Folkert
95fe9cbccd
pass the pointer to shared memory around, instead of using a global 2022-12-08 23:22:26 +01:00
Richard Feldman
97332e4af1
Move ModuleNameEnum into HeaderType 2022-12-08 15:31:43 -05:00
Richard Feldman
e2137cc310
Use a pattern match over an inline let 2022-12-08 15:31:42 -05:00
Richard Feldman
e857a91b1b
Drop obsolete constant 2022-12-08 15:31:42 -05:00
Richard Feldman
8b463686bc
Propagate multiple entrypoints to alias analysis 2022-12-08 15:31:42 -05:00
Richard Feldman
236cebacc1
Refactor out PlatformHeaderInfo 2022-12-08 15:31:42 -05:00
Richard Feldman
2a38edf784
Inline send_header_two 2022-12-08 15:31:42 -05:00
Richard Feldman
87c8702c89
Rename HeaderFor to HeaderType 2022-12-08 15:31:42 -05:00
Richard Feldman
12a7b51eb4
Move some logic into HeaderFor 2022-12-08 15:31:42 -05:00
Richard Feldman
24f2fcc28a
Remove an unnecessary qualifier 2022-12-08 15:31:41 -05:00
Richard Feldman
74b3d14277
Merge pull request #4718 from roc-lang/docs-faq
Update FAQ and some other docs
2022-12-08 08:10:12 -05:00
Richard Feldman
8307a194e1
fix typo 2022-12-08 06:37:00 -05:00
Richard Feldman
5958f50728
Drop obsolete mentions of roc_send_signal 2022-12-08 06:36:12 -05:00
Folkert
c9adafa04b
remove internal use of roc_send_signal 2022-12-08 12:20:55 +01:00
Richard Feldman
0f0b57b689
Add testing section to roc-for-elm-programmers 2022-12-08 06:09:53 -05:00
Richard Feldman
747fbaab71
Revise roc-for-elm-programmers re: dbg and crash 2022-12-08 06:09:01 -05:00
Richard Feldman
f466ddb0dd
Drop obsolete tutorial note about dbg on Mac 2022-12-08 06:07:35 -05:00
Richard Feldman
436dd9edad
Revise FAQ section on Rank-2 types 2022-12-08 05:59:47 -05:00
Richard Feldman
5cfa6d8e12
Expand List.range docs 2022-12-08 05:56:53 -05:00
Richard Feldman
cdf14c6d10
Update some type annotations in FAQ 2022-12-08 05:42:10 -05:00
Richard Feldman
da5d0bd815
Merge pull request #4686 from roc-lang/list-range
Switch to more expressive list.range
2022-12-08 02:51:42 -05:00
Richard Feldman
f9a1dd1030
Merge pull request #4715 from roc-lang/fix-glue-dict
fix glue generation for Dict and Set
2022-12-08 02:19:37 -05:00
Brendan Hansknecht
759130952d
fix glue generation for Dict and Set 2022-12-07 20:53:50 -08:00
Folkert
3bae4145d9
do expect/dbg with atomics 2022-12-08 00:41:20 +01:00
Anton-4
cdefaa4be9
Merge pull request #4711 from roc-lang/generic-cpu-nightly
make macos nightly target generic x86_64
2022-12-07 22:07:56 +01:00
Anton-4
224dffec04
Merge pull request #4708 from roc-lang/fix-package-release
fix release packaging
2022-12-07 19:37:41 +01:00
Anton-4
865ca0fd07
make macos nightly target generic x86_64
also ditch cargo action
2022-12-07 19:35:14 +01:00
Ayaz
e357b6abb7
Merge pull request #4710 from roc-lang/i4705
Define inline expects defs in their definition order
2022-12-07 12:28:15 -06:00
Ayaz Hafiz
b66813d2db
Check in test for #4705 2022-12-07 10:59:05 -06:00
Ayaz Hafiz
c5dd688e3e
Correct sorting of generated procs for mono test 2022-12-07 10:58:50 -06:00
Ayaz Hafiz
42fe19541e
Define inline expects defs in their definition order
When we transform a top-level expect into an inline expect, we collect
all intermediate defs before the expect condition, then layer the defs
back on. Because the layering procedure builds an expression bottom-up,
we must layer on defs in reverse definition order.

Closes #4705
2022-12-07 10:54:16 -06:00
Ayaz Hafiz
935255d06b
Support compiling programs with test mode in test_mono 2022-12-07 10:48:41 -06:00
Anton-4
2bf2782425
fix release packaging
- add zig builtins to the release
- don't put executables and .o files in release

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-12-07 16:53:38 +01:00
Folkert de Vries
2ec473ba11
Merge pull request #4702 from roc-lang/wasm_interp_zig_tests
Wasm interp - more fixes
2022-12-07 00:32:33 +01:00
Ayaz
36eaed31e3
Merge pull request #4701 from roc-lang/i4697
Fix concat of non-unique list with unique list
2022-12-06 15:08:54 -06:00
Brian Carroll
aedc584935
Merge branch 'main' of github.com:roc-lang/roc into wasm_interp_zig_tests 2022-12-06 21:06:04 +00:00
Brian Carroll
2abae1b5e1
wasm_interp: Don't panic while pushing a stack frame 2022-12-06 20:31:50 +00:00
Brian Carroll
4cf5d19ace
wasm_interp: Fix bug where all arguments were being set as I32 2022-12-06 20:23:34 +00:00
Brian Carroll
1b126d3b58
wasm_interp: Don't panic when setting a local variable 2022-12-06 20:22:05 +00:00
Brian Carroll
9d912a6cc7
wasm_interp: don't panic when unwrapping Value 2022-12-06 20:19:25 +00:00
Folkert de Vries
4ab58dafbc
Merge pull request #4699 from roc-lang/wasm_interp_fixes
Wasm interp: WASI and stack trace
2022-12-06 21:12:15 +01:00
Richard Feldman
2b1deff379
Revert "Merge PlatformHeaderInfo into revised HeaderInfo"
This reverts commit 6115781b9d.
2022-12-06 14:06:05 -05:00
Richard Feldman
579feeeadd
Revert "WIP try combining PlatformHeaderInfo & HeaderInfo"
This reverts commit 100044295f.
2022-12-06 14:06:00 -05:00
Richard Feldman
100044295f
WIP try combining PlatformHeaderInfo & HeaderInfo 2022-12-06 14:05:29 -05:00
Ayaz Hafiz
dd364dbdfa
Add gen test for concat unique lists bug 2022-12-06 12:59:55 -06:00
Ayaz Hafiz
4df83d67ea
use copyBackwards when copying overlapping items in non-unique.unique concat
`mem.copy` requires that `dest` has start index `<= src`, but in our
case, `dest` has start index `>= src`. For this, `copyBackwards` should
be used.

See https://github.com/ziglang/zig/blob/master/lib/std/mem.zig#L195-L222.

Closes #4697
2022-12-06 12:58:04 -06:00
Brian Carroll
d49ae6701a
Merge branch 'main' of github.com:roc-lang/roc into wasm_interp_fixes 2022-12-06 18:57:56 +00:00
Ayaz Hafiz
a549176886
Add reproduction of failing unique concat bug 2022-12-06 12:57:32 -06:00
Brian Carroll
c7a75bf770
wasm_interp: comment to clarify the two CLI systems 2022-12-06 09:38:08 +00:00