Commit graph

23468 commits

Author SHA1 Message Date
Brendan Hansknecht
4329b08fae
fix stub lib path
platform-path is relative to the execution folder, not the input path
2022-11-29 10:03:27 -08:00
Folkert de Vries
24ddb1bf0a
Merge pull request #4628 from roc-lang/platform-cargo-test
Platform cargo test with elf
2022-11-29 18:23:48 +01:00
Anton-4
0b98609a22
check the exit status of the link cmd 2022-11-29 16:53:04 +01:00
Brian Carroll
378cad7748
clippy 2022-11-29 11:28:30 +00:00
Folkert de Vries
f9393768f2
Merge pull request #4627 from roc-lang/wasm_interp_float
Wasm interp floats & conversions
2022-11-29 12:11:50 +01:00
Brian Carroll
d29ea7fedf
wasm_interp: last few instructions! 2022-11-29 08:59:37 +00:00
Brian Carroll
17810d5134
wasm_interp: float rounding ops 2022-11-29 08:43:56 +00:00
Brian Carroll
714586fac1
wasm_interp: f32 convert instructions 2022-11-29 08:06:18 +00:00
Brian Carroll
029f0d00c1
wasm_interp: truncate instructions 2022-11-29 08:06:18 +00:00
Brian Carroll
6ac46a150f
wasm_interp: fix tests for promote and demote ops 2022-11-29 08:05:46 +00:00
Folkert
a9bd01be87
simplify to only the required changes 2022-11-29 09:03:42 +01:00
Folkert
5a62eaa662
commit test version with elfcopy object example 2022-11-29 09:03:42 +01:00
Folkert
96f48ab40a
Merge remote-tracking branch 'origin/main' into wasm_interp_float 2022-11-29 08:57:17 +01:00
Folkert de Vries
38e87011f9
Merge pull request #4619 from roc-lang/wasm_interp_i32ops
Wasm interp i32 ops
2022-11-29 08:18:42 +01:00
Joshua Warner
2b91af02df
Introduce record! combinator
... and refactor header parser to fully use combinators, in support of future combinator-based superpowers
2022-11-28 20:25:55 -08:00
Joshua Warner
8de153efb9
Fix missing cases in Pattern::equivalent 2022-11-28 19:47:53 -08:00
Joshua Warner
ec6db293f5
Merge pull request #4629 from roc-lang/fix-merge-conflict-ci
fix merge conflict that made it to main
2022-11-28 19:37:38 -08:00
Brian Carroll
afa57a027b
wasm_interp: implement some number conversion ops 2022-11-28 23:28:08 +00:00
Brian Carroll
94ca352ed7
wasm_interp: 'reinterpret' instructions 2022-11-28 23:28:08 +00:00
Brian Carroll
46737b4a41
wasm_interp: rename test_opcodes -> test_basics, and split out test_convert 2022-11-28 23:28:08 +00:00
Brian Carroll
f798f47edd
wasm_interp: move load and store tests to test_mem 2022-11-28 23:28:08 +00:00
Brian Carroll
a97aba7cec
wasm_interp: delete older duplicate test 2022-11-28 23:28:08 +00:00
Brian Carroll
1e114d6eef
wasm_interp: implement float neg and abs 2022-11-28 23:28:08 +00:00
Brian Carroll
284eeb5537
wasm_interp: Implement float ops that have int equivalents 2022-11-28 23:28:08 +00:00
Brian Carroll
fc10c520b1
wasm_interp: fix return type for i64 comparison ops 2022-11-28 23:28:08 +00:00
Brian Carroll
c2bf7d68fc
wasm_interp: rename ExecutionState -> Instance to match standard Wasm terminology 2022-11-28 23:28:08 +00:00
Folkert
c2a28df6d8
fix merge conflict that made it to main 2022-11-28 23:27:41 +00:00
Folkert
c9ba57f15a
fix merge conflict that made it to main 2022-11-29 00:20:03 +01:00
Brian Carroll
2aaa73460a
Merge branch 'main' of github.com:roc-lang/roc into wasm_interp_i32ops 2022-11-28 22:26:52 +00:00
Richard Feldman
0411c0ba8e
Merge pull request #4626 from roc-lang/mobile-friendly-breakpoint
Make mobile-friendly CSS breakpoint smaller
2022-11-28 17:09:06 -05:00
Richard Feldman
9bd5351970
Make mobile-friendly breakpoint smaller 2022-11-28 17:08:35 -05:00
Richard Feldman
06f5fc0ab4
Merge pull request #4625 from roc-lang/tutorial-style-fixes
Tutorial style tweaks
2022-11-28 17:02:17 -05:00
Richard Feldman
08957b291b
Different comment colors on dark mode 2022-11-28 16:58:58 -05:00
Richard Feldman
8764836c18
Use font-size: 16px on mobile 2022-11-28 16:54:28 -05:00
Richard Feldman
8688674013
Revise styles on mobile tutorial contents toggle 2022-11-28 16:48:52 -05:00
Richard Feldman
030a7f87a2
Revert "Add white-space:nowrap to <code> tags"
This reverts commit 883daf9fa7.
2022-11-28 16:25:15 -05:00
Richard Feldman
930ae96514
Fix some comment styling 2022-11-28 16:23:20 -05:00
Richard Feldman
21cf221f27
Revert body bg and header colors 2022-11-28 16:22:38 -05:00
Richard Feldman
4772bf960d
Give comments a more reasonable color 2022-11-28 16:22:29 -05:00
Richard Feldman
883daf9fa7
Add white-space:nowrap to <code> tags 2022-11-28 16:22:15 -05:00
Brian Carroll
9c83c44f3c
Merge pull request #4621 from roc-lang/wasm_interp_i64ops
Wasm interp i64ops
2022-11-28 21:07:59 +00:00
Richard Feldman
a667648fc8
Merge pull request #4624 from georgesboris/main
fix: tutorial on mobile
2022-11-28 15:45:31 -05:00
Anton-4
f24d7500b9
Merge pull request #4623 from roc-lang/update_tutorial
update tutorial, cleanup
2022-11-28 21:45:03 +01:00
Anton-4
f91523baa9
update tutorial, cleanup 2022-11-28 20:13:39 +01:00
Georges Boris
195a9bbfa1
fix: tutorial on mobile 2022-11-28 16:11:15 -03:00
Anton-4
963eb9f2c1
Merge pull request #4620 from roc-lang/metadata_fix
change matadata filename based on target
2022-11-28 19:19:40 +01:00
Brian Carroll
9ea2176db8
wasm_module, wasm_interp: fix SLEB-128 encoding for i64 2022-11-28 17:39:13 +00:00
Brian Carroll
0dc3441301
wasm_interp: even more copy-and-pasting 2022-11-28 17:35:51 +00:00
Brian Carroll
ea9b53aff3
wasm_interp: more copy-and-pasting of i64 from i32 2022-11-28 17:17:25 +00:00
Brian Carroll
31a4ad62a7
wasm_interp: implement modulo for rotr and rotl 2022-11-28 17:15:56 +00:00