Commit Graph

21817 Commits

Author SHA1 Message Date
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
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
Brian Carroll
3881296fb4
wasm_interp: Implement lots of i64 ops by copy-pasting from i32 2022-11-28 17:10:28 +00:00
Brian Carroll
56ddd1f29b
wasm_interp: Add a comment and tests for modulo in shift ops 2022-11-28 17:04:45 +00:00
Richard Feldman
c1a75a57f1
Merge pull request #4592 from roc-lang/collections_refactor
Refactor collection_trailing_sep_e
2022-11-28 11:14:30 -05:00
Ayaz
113c8cd7d7
Merge pull request #4613 from roc-lang/migrate_reporting_tests
Allow migrating reporting tests to failing parse tests
2022-11-28 09:59:01 -06:00
Anton-4
91266a03c6
change matadata filename based on target 2022-11-28 15:18:15 +01:00
Brian Carroll
e357a943ea
Merge branch 'main' of github.com:roc-lang/roc into wasm_interp_i32ops 2022-11-28 09:01:50 +00:00
Brian Carroll
b707f6fdff
wasm_interp: tests for i32 bitwise rotate ops 2022-11-28 09:01:25 +00:00
Brian Carroll
77f5635d89
wasm_interp: tests for shift right ops 2022-11-28 08:58:45 +00:00
Brian Carroll
2e0dd18b82
wasm_interp: make test_op_example generate a valid wasm file and dump it 2022-11-28 08:58:09 +00:00
Brian Carroll
6e8904baa8
wasm_module: fix parsing of negative i32's! 2022-11-28 08:25:32 +00:00
Brian Carroll
d5cc4b19f8
wasm_module: add a deb_hex! macro 2022-11-28 08:24:34 +00:00
Richard Feldman
5570fe4108
Fix relative URLs in packages/basic-cli/
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2022-11-27 23:00:14 -05:00
Brian Carroll
5e9fc9c455
Merge pull request #4617 from roc-lang/wasm_interp_call_indirect
wasm_interp: indirect_call
2022-11-27 23:26:56 +00:00
Brian Carroll
5fc874057c
wasm_interp: tests for i32 ops 2022-11-27 23:00:22 +00:00
Brian Carroll
eeca876421
wasm_interp: create a test_utils module 2022-11-27 22:10:12 +00:00
Brian Carroll
e3df393a22
wasm_interp: use wrapping arithmetic 2022-11-27 22:07:31 +00:00
Brian Carroll
8e15d49720
wasm_interp: use Value::from in more places 2022-11-27 21:00:52 +00:00
Brian Carroll
78fbc75249
wasm_interp: neater creation of Value from unsigned integers 2022-11-27 20:53:12 +00:00
Brian Carroll
f7dcd8f421
wasm_interp: implement remaining i32 ops 2022-11-27 20:47:21 +00:00
Brian Carroll
ae2e561945
wasm_interp: implement select instruction 2022-11-27 20:39:28 +00:00
Brian Carroll
9e7a92574d
wasm_interp: don't give Signature the Clone trait just for a test! 2022-11-27 20:34:03 +00:00