Folkert
e6c561de7a
Merge remote-tracking branch 'origin/trunk' into deep-copy-var-to
2021-11-17 16:34:01 +01:00
Folkert
e030cd3da5
optimize restore
2021-11-17 16:33:32 +01:00
Folkert
65e0866d0a
add assert; a returned copy must always be in the target subs
2021-11-17 16:32:20 +01:00
Folkert
3b1e0eeb24
store a subs instead of a solved type in external specializations
2021-11-17 16:31:13 +01:00
Folkert
237d8d1c0b
fix the Default instance for subs
...
we later rely on some variables always existing (numbers, empty record, empty tag union)
but the default instance did not insert those
2021-11-17 16:29:16 +01:00
satotake
16fb04b4fa
Add builtin List.intersperse
2021-11-17 15:18:45 +00:00
Brian Carroll
751bfd842c
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-str-builtins
2021-11-17 14:36:52 +00:00
Brian Carroll
e75a9ec281
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-str-builtins
2021-11-17 13:51:11 +00:00
Brian Carroll
a3bfee5cd8
Leave other string builtins for later
2021-11-17 13:48:29 +00:00
Brian Carroll
03c19b727a
String concatenation working in gen_wasm!
2021-11-17 13:38:50 +00:00
Brian Carroll
a8f402d155
Merge branch 'trunk' into wasm-long-string-literal
2021-11-17 13:34:27 +00:00
Brian Carroll
9de989c0d5
Link wasm test binaries with libc.a
2021-11-17 12:54:39 +00:00
Brian Carroll
4aaa6d92a1
For now, commit a binary archive of Wasm libc
2021-11-17 12:52:48 +00:00
Folkert
aa4ee812fe
remove dead add_pending
function
2021-11-17 13:23:46 +01:00
Folkert
d3528a3ed3
refactor ExternalSpecializations to use Vec
2021-11-17 13:21:58 +01:00
satotake
cef664165d
Merge branch 'trunk' into fix-dev-backend-readme-link
2021-11-17 19:39:33 +09:00
Brian Carroll
af896e5d33
Comments
2021-11-17 09:39:16 +00:00
Richard Feldman
8f25106b2c
Merge pull request #1986 from rtfeldman/valgrind_instr_fix
...
cli_run tests: valgrind unhandled insturction bytes
2021-11-16 20:32:39 -05:00
Brian Carroll
85855fc112
Merge branch 'wasm-long-string-literal' of github.com:rtfeldman/roc into wasm-long-string-literal
2021-11-16 23:41:31 +00:00
Brian Carroll
36f2ef301f
Only enable wasm_str tests for gen-wasm feature
2021-11-16 23:41:15 +00:00
Michael Downey
81f0f46132
fixing test
2021-11-16 18:25:16 -05:00
Folkert
ede5967ced
Merge remote-tracking branch 'origin/trunk' into deep-copy-var-to
2021-11-16 23:56:11 +01:00
Folkert
849510c42c
WIP
2021-11-16 23:55:11 +01:00
Michael Downey
51ad326d11
fmt
2021-11-16 17:30:04 -05:00
Michael Downey
d946b84e63
adding initial List.all
2021-11-16 16:34:36 -05:00
Callum Dunster
f972098e70
Move reporting module into root.
2021-11-16 19:58:21 +01:00
Brian Carroll
28cf23d78a
Merge branch 'trunk' into wasm-long-string-literal
2021-11-16 17:40:11 +00:00
Anton-4
2a4b3d3cd3
added cfg to static size check for arm CPUs
2021-11-16 16:56:05 +01:00
satotake
71bef85984
add x86_64 Int Num.neg support for gen_dev
2021-11-16 15:22:32 +00:00
satotake
c05f9dc1df
Fix link in gen_dev README.md
2021-11-17 00:15:27 +09:00
satotake
46e6e22776
use closure
2021-11-16 12:58:45 +00:00
Brian Carroll
5d4518c8d1
Try using C for the wasm test platform
2021-11-16 12:00:13 +00:00
Brian Carroll
b8f40011b9
Generate a test "platform" with libc allocator functions
2021-11-16 11:59:46 +00:00
Anton-4
0f064c121e
Merge branch 'trunk' into valgrind_instr_fix
2021-11-16 12:24:26 +01:00
satotake
541465bc2e
Use let
2021-11-16 11:13:37 +00:00
Richard Feldman
28273b67da
Merge pull request #1970 from rtfeldman/shrink-call-type
...
Shrink call type
2021-11-15 19:56:21 -08:00
Richard Feldman
8258fc05e6
Merge pull request #1979 from rtfeldman/decision-tree-remove-clone
...
Decision tree remove clone
2021-11-15 19:49:12 -08:00
Richard Feldman
b28430451c
Merge pull request #1981 from rtfeldman/solved-type-remove-hash
...
Solved type remove hash
2021-11-15 19:47:06 -08:00
Joshua Warner
c4dd112a25
Allow generating new .result-ast files with ROC_PARSER_SNAPSHOT_TEST_OVERWRITE
2021-11-15 14:00:24 -08:00
Folkert
7c4300a7a1
clarify what pending means
2021-11-15 22:43:32 +01:00
Folkert de Vries
f49bd04e68
Merge branch 'trunk' into decision-tree-remove-clone
2021-11-15 22:34:56 +01:00
Brian Carroll
e9f920827e
Add support for Zig/LLVM "fast calling convention"
2021-11-15 19:20:55 +00:00
Brian Carroll
8ad2f13ba9
Map some Str lowlevels to builtin calls
2021-11-15 19:17:27 +00:00
Folkert
163656b2bd
fix merge conflict
2021-11-15 20:13:50 +01:00
Folkert
db081cd84b
WIP
2021-11-15 20:12:48 +01:00
Folkert de Vries
1a3f2aed4f
Merge branch 'trunk' into refactor-builtin-list-drop
2021-11-15 19:51:17 +01:00
Brian Carroll
7ac1c7a72f
Get long string literals working in gen_wasm
2021-11-15 15:22:07 +00:00
satotake
73dda714de
Add builtin List.split
2021-11-15 13:50:11 +00:00
Brian Carroll
a5c3809290
Delete DataCountSection. Not well-supported and only needed for instructions we don't use
...
https://webassembly.github.io/spec/core/binary/modules.html#binary-datacountsec
Tools like wasm2wat and wasm-validate reject the module when this section is included!
Its purpose is to enable single-pass validation for two specific instructions that were
not in the original Wasm MVP: memory.init and data.drop.
We don't use them in our Roc backend. It seems to make sense just to drop the section.
2021-11-15 12:59:28 +00:00
Brian Carroll
46636ef331
Ensure lowlevel inlining does not skip bounds checks
2021-11-15 12:56:34 +00:00