Commit graph

23468 commits

Author SHA1 Message Date
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
Brian Carroll
8ff843261a
clippy 2022-11-27 19:40:09 +00:00
Brian Carroll
c2fb626c17
wasm_interp: implement indirect_call 2022-11-27 18:56:09 +00:00
Richard Feldman
468be47da2
Merge pull request #4614 from roc-lang/tutorial-basic-cli
Use `basic-cli` in tutorial
2022-11-27 01:57:40 -05:00
Richard Feldman
11e2e20daa
Make destination dir for basic-cli package 2022-11-27 00:55:17 -05:00
Joshua Warner
a3071a8aea
Allow migrating reporting tests to failing parse tests 2022-11-26 17:34:50 -08:00
Richard Feldman
1183e25b9a
fix typo
Co-authored-by: Ghislain Guiot <gt.ghislain@gmail.com>
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2022-11-26 19:04:48 -05:00
Richard Feldman
d949a918e4
Use false interpreter in type mismatch test 2022-11-26 19:04:35 -05:00
Richard Feldman
956d3d1462
basic-cli docs --> roc-lang.org/packages/basic-cli 2022-11-26 19:04:35 -05:00
Richard Feldman
d3f39400b6
Remove downloaded-basic-cli once we're done 2022-11-26 19:04:35 -05:00
Richard Feldman
d4a23cbb18
Build CLI docs from the basic-cli repo 2022-11-26 19:04:35 -05:00
Richard Feldman
bdc61b7fd9
Link to basic-cli in the README for cli examples 2022-11-26 19:04:34 -05:00
Richard Feldman
df8c0d9edd
Update tutorial to use basic-cli URLs 2022-11-26 19:04:34 -05:00
Richard Feldman
bb89344eaa
Merge pull request #4562 from roc-lang/https-packages
URL-based packages
2022-11-26 15:50:09 -05:00
Folkert de Vries
e8d8ce3b08
Merge pull request #4610 from roc-lang/wasm_interp_blocks
Wasm interp branching
2022-11-26 20:52:51 +01:00
Joshua Warner
451b2c0ded
Refactor collections 2022-11-26 09:55:54 -08:00
Brian Carroll
acb871abeb
wasm_interp: fix implicit return for calls inside blocks 2022-11-26 16:23:48 +00:00
Brian Carroll
82aa126353
gen_wasm: improve a code comment 2022-11-26 15:38:48 +00:00
Richard Feldman
32d9c6d875
Fix a comment 2022-11-26 09:08:24 -05:00
Richard Feldman
2409399ff3
Don't even compile https stuff in wasm! 2022-11-26 08:53:31 -05:00
Richard Feldman
b9074f0cfa
Avoid unused import warning on wasm tests 2022-11-26 08:47:21 -05:00
Richard Feldman
10e043c748
Fix an unused warning on wasm tests 2022-11-26 08:36:45 -05:00
Richard Feldman
dd24cd7f4f
Add wasm32-wasi to targets in rust-toolchian.toml 2022-11-26 08:20:18 -05:00
Brian Carroll
df972a4567
wasm_interp: remove unnecessary and confusing ELSE check 2022-11-26 12:01:37 +00:00
Brian Carroll
0009e65d93
clippy 2022-11-26 11:01:12 +00:00
Brian Carroll
c7de45a316
Merge branch 'main' of github.com:roc-lang/roc into wasm_interp_blocks 2022-11-26 10:59:48 +00:00
Brian Carroll
3346ef9c9c
wasm_interp: Don't need to store block depth in CallStack any more 2022-11-26 10:58:16 +00:00
Brian Carroll
0bd1bced68
wasm_interp: implement loop 2022-11-26 10:47:16 +00:00
Brian Carroll
c55cedd279
wasm_interp: implement i32.lt_s 2022-11-26 10:12:47 +00:00
Brian Carroll
82e8c89045
wasm_interp: test for if/else 2022-11-26 09:36:49 +00:00