Kevin Sjöberg
0e500ba33c
Document List.any
2021-11-07 20:43:28 +01:00
ayazhafiz
0d2ed76334
Implement List.joinMap
...
Closes #1887
2021-11-07 11:08:20 -05:00
Folkert
3138fc43ec
cosmetic changes
2021-11-07 16:31:43 +01:00
Folkert
0e1e3381f0
Merge remote-tracking branch 'origin/trunk' into tag-union-imitate-rust
2021-11-07 15:29:55 +01:00
Folkert
180575852a
all tests passing
2021-11-07 14:56:24 +01:00
satotake
0b524889c0
fmt
2021-11-07 12:46:11 +00:00
satotake
ad50f4a8f3
Merge branch 'trunk' into remove-dict-hash-test-only
2021-11-07 21:43:04 +09:00
satotake
a12b75192e
Hide Dict.hashTestOnly
2021-11-07 12:30:04 +00:00
satotake
f3ee0bef40
Add keep_shadowed_builtins
feature to roc_parse
2021-11-07 12:27:43 +00:00
satotake
0922c86352
Rollback
2021-11-07 12:27:26 +00:00
Brian Carroll
34b57cf315
Refactor after creating constant linking data
2021-11-07 11:23:20 +00:00
Brian Carroll
38d9fc5bbd
Add linker data for strings, and deduplicate them
...
For references to addresses of constant strings, we make an entry in
reloc.CODE and configure the relocation type to say it points at a
memory address. (At least I think this is right, I can't test it yet!)
The same info can also be used for de-duplication.
It turns out we don't need reloc.DATA. I had misunderstood it.
The use case for that would be constant nested data structures,
where constant data would contain pointers to other constant data.
I don't think we're doing this in Roc at all, but not sure.
2021-11-07 11:20:32 +00:00
Brian Carroll
7dd5197953
Merge branch 'trunk' into wasm_serialization_refactor
2021-11-07 09:58:57 +00:00
Folkert de Vries
c0c2c1341c
Merge branch 'trunk' into fix-str-from-int
2021-11-07 00:00:21 +01:00
Folkert
75c090fd24
cleanup
2021-11-06 23:57:21 +01:00
Folkert
a31279a2c6
generate wasm32 object file
2021-11-06 23:03:46 +01:00
Brendan Hansknecht
74a55f53f3
Switch back to cranelift due to versioning and aarch64 issues
2021-11-06 14:24:58 -07:00
Brendan Hansknecht
40f0271ccf
Fix M1 mac build
...
I changed wasmer to use the llvm backend because it compiles the fastest and supports aarch64.
If we later run into llvm versioning issues of some sort, we should switch this to cranelift.
Also re-adds serde-json which is used on macos.
2021-11-06 14:08:19 -07:00
Brendan Hansknecht
73e2cbcb1e
Make versions numbers consistent and matching the lock files
2021-11-06 13:24:45 -07:00
Brendan Hansknecht
4a4a07441e
Merge remote-tracking branch 'origin' into deps
2021-11-06 13:10:33 -07:00
Folkert
bd0f02c542
another waypoint
2021-11-06 19:27:16 +01:00
Richard Feldman
0eab20dbde
Merge pull request #1892 from rtfeldman/nix_M1_fix_v2
...
WIP Fix nix on Mac M1
2021-11-06 13:59:10 -04:00
Anton-4
69f6ffadab
Merge branch 'trunk' into deps
2021-11-06 18:07:34 +01:00
Anton-4
03cc4abbf0
Merge branch 'trunk' of https://github.com/rtfeldman/roc into nix_M1_fix_v2
2021-11-06 16:32:16 +01:00
Anton
03f76dfa37
fixed ld warning
2021-11-06 16:21:35 +01:00
Kevin Sjöberg
f6d055dc62
Correct minor spelling mistakes
2021-11-06 15:29:08 +01:00
Kevin Sjöberg
491a480371
Implement Str.fromInt for any integer type
2021-11-06 14:55:27 +01:00
Kevin Sjöberg
c18f306a7e
Remove dead code
2021-11-06 14:55:27 +01:00
Richard Feldman
3df3e2f0d5
Merge branch 'trunk' into deps
2021-11-06 07:19:02 -04:00
Brendan Hansknecht
1f61bdc6e0
Fix clippy warnings
2021-11-05 23:40:51 -07:00
Chelsea Troy
208bce563a
Merge branch 'trunk' into dropfirst-builtin
2021-11-05 23:34:46 -05:00
Brendan Hansknecht
47ce2b2cda
Fix fmt error
2021-11-05 21:16:47 -07:00
Brendan Hansknecht
11ece557ed
Make gen_dev tests a single executable
2021-11-05 21:04:41 -07:00
Brendan Hansknecht
c595668b37
Remove dependency on cranelift
2021-11-05 19:59:42 -07:00
Brendan Hansknecht
d49ac68bcc
Update dep with major version changes
2021-11-05 19:19:37 -07:00
Brendan Hansknecht
bddc08c977
Remove unused dependencies
2021-11-05 16:58:11 -07:00
Folkert
5cd232816b
waypoint
2021-11-05 21:30:20 +01:00
Eric Newbury
f3a350dd74
add dropFirst builtin
2021-11-05 16:12:29 -04:00
Brian Carroll
5f998f3707
Minor refactor in CodeBuilder
2021-11-05 12:26:05 +00:00
Brian Carroll
e5a0738681
Rename CodeSection serializer, since it doesn't actually mutate
2021-11-05 12:25:27 +00:00
Brian Carroll
01b47a2ec7
Add inline directives to ensure unit placeholders are optimised away
2021-11-05 12:11:37 +00:00
Brian Carroll
d220ed7a23
Refactor module section serialization
2021-11-05 12:11:33 +00:00
Richard Feldman
fcc5c82f8c
Merge pull request #1891 from rtfeldman/cleanup-targets
...
Target Feature cleanup
2021-11-05 07:47:33 -04:00
Richard Feldman
256fdbf8e7
Merge pull request #1889 from rtfeldman/wasm_string
...
Add support for string literals to gen_wasm
2021-11-05 07:46:14 -04:00
Oleksii Skidan
c64d5a90eb
Merge branch 'trunk' into repl-macos-arm64
2021-11-05 13:00:05 +02:00
Folkert
51756cbc89
fix uninitialized alloca
2021-11-05 11:21:06 +01:00
Oleksii Skidan
9136180499
Move macos minimum version after the arch. Set it to 10.15 -- the last 10.x release.
2021-11-05 11:57:48 +02:00
Folkert
e378f0d2f9
fix tags tests
2021-11-05 10:35:17 +01:00
Brian Carroll
176c03264b
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm_string
2021-11-05 08:38:46 +00:00
Brian Carroll
4dcb65cc46
Fix data count section for the case where data section is empty
2021-11-05 08:36:18 +00:00