Folkert
54429162ad
clippy
2021-11-01 23:19:47 +01:00
Folkert
0ad83fe990
Merge remote-tracking branch 'origin/trunk' into morphic-spec-sortwith
2021-11-01 23:11:52 +01:00
Folkert
89b850983d
all higher order lowlevels have morphic specs
2021-11-01 23:05:59 +01:00
Folkert
a36fddd27a
morphic for List.map, List.mapWithIndex, List.walk
2021-11-01 21:21:26 +01:00
Folkert
ca537a44b8
thread through update_mode
2021-11-01 20:12:39 +01:00
Brian Carroll
f1736f5e54
Merge branch 'trunk' into wasm_relocations
2021-11-01 11:23:50 +00:00
Folkert
7cd5d41b35
bump varid for closure var (List.map4 used so many variables that they interfered
2021-11-01 10:34:34 +01:00
Brian Carroll
63f65947bc
Remove excessive calls to LayoutIds::default()
2021-11-01 00:02:28 +00:00
Brian Carroll
49ac08546c
Replace a vector reference with a slice
2021-11-01 00:01:48 +00:00
Folkert
830764221e
add specification for sortWith
2021-10-31 22:31:55 +01:00
Kevin Sjöberg
0f8047cbf0
Remove dead code
2021-10-31 21:08:41 +01:00
Kevin Sjöberg
3fbb081f75
Correct comment of List.map3 signature
2021-10-31 21:08:41 +01:00
Kevin Sjöberg
f9ed060e49
Implement List.map4
2021-10-31 21:08:41 +01:00
Brian Carroll
51f3f1ece8
Merge branch 'trunk' into wasm_relocations
2021-10-31 14:37:52 +00:00
Folkert
a40c4f4fd5
use Entry
2021-10-31 13:47:02 +01:00
Brian Carroll
572bdb987f
Add a comment
2021-10-31 08:32:33 +00:00
Chelsea Troy
e01942f387
Whoops, let's make List.max actually accessible on the frontend, lol
2021-10-30 19:23:08 -05:00
Chelsea Troy
4afaf96aea
Add List.max builtin
2021-10-30 19:17:35 -05:00
Brian Carroll
96832ed1e3
self review
2021-10-30 18:22:09 +01:00
Brian Carroll
b0e0c14dd8
clippy
2021-10-30 17:52:38 +01:00
Brian Carroll
7fdaa5b91f
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm_relocations
2021-10-30 17:47:38 +01:00
Brian Carroll
b8eea9be2b
Fix linking bugs from wasm-objdump analysis
2021-10-30 17:47:13 +01:00
Brian Carroll
0ee482ae9e
Fix string encoding. Tests pass.
2021-10-30 10:57:21 +01:00
Brian Carroll
99b08ad395
Skip relocations for test_wrapper since we don't run a linker on it anyway.
2021-10-30 09:50:53 +01:00
Brian Carroll
b541802819
Change custom section names to string slice
...
We will never need to create these names dynamically.
e.g. "reloc.CODE", "reloc.DATA", and "linking" will all
come from specific places in our backend code.
It's a different story for function names etc.
2021-10-30 09:26:40 +01:00
Brian Carroll
2da2e51895
Move relocations code into the backend and code builder
2021-10-30 09:20:16 +01:00
Brian Carroll
9780cce4dd
Rough draft of function name relocations
2021-10-30 08:55:33 +01:00
Richard Feldman
0d1ed45444
Merge pull request #1841 from rtfeldman/nix_undefined_symbol
...
Fix nix undefined symbol `_dl_catch_error_ptr`
2021-10-29 18:20:17 -04:00
Folkert
d35686f3a8
hash less
2021-10-29 21:28:11 +02:00
Folkert
05b5cd3429
specializations requested in file.rs are specializations for the host
2021-10-29 21:27:26 +02:00
Folkert
eda904e63e
don't register debug idents while doing work (it happens afterwards
2021-10-29 21:26:36 +02:00
Folkert
e10cd07143
use Entry in symbol.rs
2021-10-29 21:25:11 +02:00
Folkert
30e7f7b335
make solved type hash use an explicit stack (no recursion)
2021-10-29 21:24:40 +02:00
Anton-4
5487f8e7cb
fmt+clippy
2021-10-29 20:13:31 +02:00
Anton-4
e0fac60ddb
fixed undefined _dl_catch_error_ptr
2021-10-29 20:10:57 +02:00
Brian Carroll
f5f34b74c0
Write serializers for much of the linking and relocation sections
2021-10-29 16:04:27 +01:00
Richard Feldman
2980e195ce
Merge pull request #1835 from rtfeldman/fix-ir-clones
...
remove clones in ir.rs
2021-10-28 22:15:17 -04:00
Brian Carroll
2020e89db7
Create reserve_padded_u32, nice for readability
2021-10-28 22:44:33 +01:00
Brian Carroll
7841ef959a
Serialize padded signed integers and refactor serialize module
2021-10-28 20:45:04 +01:00
Folkert de Vries
aa978ae6d9
Merge branch 'trunk' into list_min
2021-10-28 20:32:27 +02:00
Brian Carroll
3c9375af28
Start creating module_builder
2021-10-28 13:18:14 +01:00
Brian Carroll
82acf55d38
Create serializer module
2021-10-28 11:50:55 +01:00
Tim Whiting
329c035e24
fix comment
2021-10-27 20:31:07 -06:00
Tim Whiting
c721a1cc1f
add builtin List.min
2021-10-27 20:28:34 -06:00
Dan Gieschen Knutson
02117ba512
Merge branch 'trunk' into str_trim
2021-10-27 18:01:29 -05:00
Dan Knutson
bf29639d87
deinit a string that has been trimmed to nothing
2021-10-27 17:58:30 -05:00
Folkert
2adaf2be7f
remove clones
2021-10-27 23:07:33 +02:00
Folkert
3559a0ed6b
move check
2021-10-27 22:25:37 +02:00
Folkert
456b6fd4d9
remove clone
2021-10-27 22:25:17 +02:00
Brian Carroll
eb47b5183c
Slightly refactor code section swapping
2021-10-27 19:41:52 +01:00