Commit graph

189 commits

Author SHA1 Message Date
Folkert
b416e854ef Merge remote-tracking branch 'origin/trunk' into wasm-gen-test 2021-08-29 23:14:03 +02:00
Folkert
344f30747d make Dict.len actually return a usize 2021-08-29 23:05:58 +02:00
Folkert
32ef95e3d0 clean up sjlj code gen 2021-08-29 17:09:32 +02:00
Folkert
53c8500d11 use zig to generate round function; llvm gives wasm errors 2021-08-29 17:09:04 +02:00
Richard Feldman
b3e6a248cf Cast to expect_failed in LLVM, not zig 2021-08-28 21:24:16 -04:00
Folkert
b57632e4cc pass list to zig according to c abi 2021-08-29 00:24:59 +02:00
Joshua Hoeflich
4e57b1edf2 Bump expect to run Rust fn 2021-08-28 11:10:02 -05:00
Joshua Hoeflich
93b77a840a Threading through null ptr 2021-08-28 10:57:52 -05:00
Joshua Hoeflich
8fc663b735 Expect no longer crashes 2021-08-28 10:08:12 -05:00
Folkert
8fa4e55c74 Merge remote-tracking branch 'origin/trunk' into wasm-cli-option 2021-08-27 09:35:34 +02:00
Richard Feldman
ffeaa1ac08
Merge branch 'trunk' into store-dec-as-str 2021-08-26 21:24:56 -04:00
Folkert
36fc9b5f1f update target-lexicon 2021-08-26 21:39:33 +02:00
Folkert
fca5463751 more faithfully implement the C abi
when generating llvm/roc functions for e.g. roc_fx_putLine
2021-08-26 21:22:21 +02:00
Jared Ramirez
4b2a63fb30 Merge branch 'trunk' of https://github.com/rtfeldman/roc into store-dec-as-str 2021-08-26 11:23:17 -07:00
Jared Ramirez
8594f2efbe Change how decimals are stored in mono 2021-08-26 11:18:26 -07:00
Richard Feldman
bc5b8bfbba Merge remote-tracking branch 'origin/trunk' into wasm-cli-option 2021-08-25 23:05:53 -04:00
Folkert
b9cd254b9a allow 4byte alignment in dict values 2021-08-25 22:07:16 +02:00
Folkert
f04ad1643f fix some things 2021-08-25 20:54:34 +02:00
Folkert
05d2b8150f make dict functions work on 32bit platforms 2021-08-25 20:49:07 +02:00
Folkert
4990e543fa make str/list C abi safe 2021-08-25 20:47:03 +02:00
Folkert
ce6ab15139 use usize instead of i64 in hash and compare 2021-08-25 20:47:03 +02:00
Folkert
69e4f6d208 make dict functions work on 32bit platforms 2021-08-25 20:47:03 +02:00
Folkert
a4475b7544 make TestBase64 compile 2021-08-25 20:47:03 +02:00
Folkert
8846841a95 follow the C abi for effect functions the host exposes 2021-08-25 20:47:03 +02:00
Folkert
0a7f7a2772 emit LLVM IR that can be compiled to wasm 2021-08-24 20:56:13 +02:00
Folkert
204e403275 allow 64-bit str in 32-bit mode 2021-08-24 17:00:02 +02:00
Folkert
08c24dde1b make refcount increment support 32-bit 2021-08-24 16:59:27 +02:00
Folkert
40d86551ad build builtins with 32-bit pointers 2021-08-24 16:38:47 +02:00
Folkert
459af15c8f WIP 2021-08-23 21:14:09 +02:00
Folkert
80358d14a3 update target-lexicon 2021-08-23 19:44:53 +02:00
Folkert
194918fe4b remove Invoke 2021-08-20 19:32:55 +02:00
Folkert de Vries
86d46825aa
Merge branch 'trunk' into NumBytesTo 2021-08-20 11:32:20 +02:00
Richard Feldman
4c72aba4a7
Merge branch 'trunk' into store-dec-as-str 2021-08-19 23:06:04 -04:00
Joshua Hoeflich
b57ebb6229 Remove castToNat 2021-08-19 16:11:21 -05:00
Richard Feldman
f279485edf
Merge branch 'trunk' into roc_panic 2021-08-19 07:20:26 -04:00
Richard Feldman
0bebb64bae
Merge branch 'trunk' into NumBytesTo 2021-08-19 01:37:39 -04:00
Jared Ramirez
d69b9173fc Also store f64 for things like pattern comparisons, etc 2021-08-18 17:18:13 -07:00
Joshua Hoeflich
06313a7736 cargo clippy 2021-08-18 18:05:47 -05:00
Folkert
1c7301ea58 refactor 2021-08-18 18:39:12 +02:00
Folkert
e31f5d4fa0 more cleanup 2021-08-18 18:38:18 +02:00
Folkert
012b4baa2e clippy 2021-08-18 18:33:33 +02:00
Joshua Hoeflich
92da003fba Adds castToNat 2021-08-18 11:02:20 -05:00
Folkert
73358b98bd clippy 2021-08-18 15:14:46 +02:00
Folkert
9c27535cee some work, some don't 2021-08-18 15:13:48 +02:00
Folkert
c09b3b89f3 test_gen works again 2021-08-18 13:46:09 +02:00
Folkert
367d08814d don't have compiler generate setjmp/longjmp when building an executable 2021-08-17 22:42:03 +02:00
Folkert
adbc7cdc69 cleanup 2021-08-16 21:16:29 +02:00
Folkert
48e447e558 remove more invoke stuff 2021-08-16 21:14:56 +02:00
Folkert
5171d181ac emit invoke again to see what's up here 2021-08-16 20:44:55 +02:00
Folkert
b9431187f7 remove c++ stuff 2021-08-16 20:33:55 +02:00