f390d9a8e4
Renamed VarUint8 to Uint8, which makes since since it's not variable-length
...
Also fixed a couple other small parts I missed.
2018-01-17 13:52:13 -05:00
5b19c5fb94
Added VarUint8 serialization/deserialization type.
2018-01-17 13:16:31 -05:00
95c52451a7
Replaced mysterous bool's in opcodes with u8
...
I suppose, looking at the code, a bool is always represented as u8,
which is what we want anyway, but since these values are not bools but
placeholder integers that must currently always be 0, having them be
bools is kind of strange.
Replaced the reading/writing of them with VarUint7, which is maybe almost
as invalid, but works.
Resolves issue #145 .
2018-01-17 12:11:07 -05:00
516de9a725
Fix typo: Warp -> Wrap
2018-01-14 13:30:44 -05:00
97257a7865
serialize buffer takes slice
2017-12-27 12:28:42 +03:00
7385baf967
Clone impl for a module
2017-10-24 16:11:03 +03:00
5c7a3c8c72
Opcode: impl Clone.
2017-09-19 16:05:18 +07:00
eb2bf0b49f
formatting issues
2017-06-26 22:29:40 +03:00
c96ccdf5bb
small test
2017-06-26 22:28:48 +03:00
4c19461753
remaining ops
2017-06-26 22:26:03 +03:00
31369db430
static ops
2017-06-26 19:04:05 +03:00
0113995868
proper offset display
2017-06-26 18:55:09 +03:00
222161d7e3
value_type display and more
2017-06-26 18:24:54 +03:00
0034e08dc6
initial
2017-06-26 18:18:08 +03:00
4b61e18929
plain instruction set draft
2017-06-22 17:52:05 +03:00
23471d63da
make opcode struct clear on store immediates
2017-06-09 16:38:34 +03:00
19a7d875b0
Merge branch 'master' into interpreter
2017-05-10 13:09:37 +03:00
013ff25b97
fixed InitExpr(Opcode::Global)
2017-05-04 10:37:33 +03:00
62e331c98c
add mutable init_expr code
2017-04-26 23:01:21 +03:00
0eb881f487
initial interpreter commit
2017-04-26 10:51:59 +03:00
db4bdefc0c
fix warning
2017-04-20 19:18:05 +03:00
b13248470b
tests for i64/i32 leb
2017-04-20 19:17:20 +03:00
30f8472a27
32bit leb128 signed integer here
2017-04-20 19:02:10 +03:00
9b401659e9
const test cases
2017-04-20 17:56:15 +03:00
870a37fd64
if-else test with block split approach
2017-04-20 12:37:20 +03:00
d09a59c6bc
inject example, some fixes
2017-04-10 13:11:34 +03:00
c0f0f2b571
code builder initial
2017-04-07 15:45:52 +03:00
321d1cf4e6
docs
2017-04-04 03:03:57 +03:00
6dc392bf18
integration tests
2017-04-03 23:56:21 +03:00
b9194c8e0b
function body serialization test
2017-04-03 20:22:30 +03:00
ef83fa06ee
the rest of ops
2017-04-03 19:57:56 +03:00
bfa2e56bb9
ops initial
2017-04-03 19:51:18 +03:00
5979248f2f
tests for data ser/de
2017-04-03 18:15:13 +03:00
a63f31a0f7
opcodes stub & data segment
2017-04-03 17:31:51 +03:00
f60b941cd4
globals
2017-03-31 17:32:55 +03:00
5b93ee2236
all opcodes
2017-03-31 05:22:49 +03:00
e9534999a4
flow args passing
2017-03-31 04:20:49 +03:00
f202703106
opcodes and wip
2017-03-31 03:28:03 +03:00