256 Commits

Author SHA1 Message Date
NikVolf
b0ebb66d3e fix warnings 2017-06-03 21:39:45 +03:00
NikVolf
0731a84b91 i32 tests fully working 2017-06-03 21:33:58 +03:00
NikVolf
dbea9f20ea ints running 2017-06-03 21:20:52 +03:00
NikVolf
2b024f4b3e Merge remote-tracking branch 'origin/master' into testsuite 2017-06-03 18:40:23 +03:00
NikVolf
edafa0cdf5 bump version 2017-06-03 18:32:10 +03:00
Nikolay Volf
2334f38474 Merge pull request #29 from NikVolf/api-ext
Fix api inconsistencies
2017-06-03 18:28:39 +03:00
NikVolf
af16f6dfc9 squash commits 2017-06-03 18:20:20 +03:00
NikVolf
5bb4559bf8 test suite support iniital 2017-06-03 17:45:03 +03:00
Svyatoslav Nikolsky
2e16c335e1 Merge pull request #25 from sunfishcode/simplify-functioncontext-new
Move FunctionContext::new's call to push_frame to Interpreter::run_function.
2017-06-03 05:57:54 +03:00
NikVolf
b9edc13cd0 bump version 2017-06-02 20:13:07 +03:00
Nikolay Volf
34e5164fc2 Merge pull request #27 from NikVolf/start-fix
Fix incorrect serialization of start section
2017-06-02 20:03:48 +03:00
NikVolf
bc69c680ee fix start section not pushing it's length 2017-06-02 19:59:29 +03:00
NikVolf
cec6131c3b failing test for start section 2017-06-02 19:57:25 +03:00
Nikolay Volf
c0866b2d2b Merge pull request #23 from sunfishcode/roundtrip
Add a "roundtrip" example which deserializes and serializes a module.
2017-06-02 19:33:14 +03:00
Dan Gohman
7e63159a1b Move FunctionContext::new's call to push_frame to Interpreter::run_function.
This makes it more consistent with run_block and others, and also means
that FunctionContext::new doesn't need to be passed the function body
and doesn't need to return a Result, which simplify its users.
2017-06-02 09:22:03 -07:00
Dan Gohman
828ae06805 Add a "roundtrip" example which deserializes and serializes a module. 2017-06-02 09:09:01 -07:00
NikVolf
9e32f7bc21 bump version 2017-05-31 21:18:22 +03:00
Nikolay Volf
2527571f8f Merge pull request #19 from rphmeier/fix-unsafety
make unsafe usages more safe
2017-05-31 21:17:31 +03:00
Robert Habermeier
8b14e9fdda make unsafe more safe 2017-05-31 18:44:52 +02:00
Nikolay Volf
bf56cd9488 Update README.md 2017-05-30 22:45:14 +04:00
NikVolf
ac373d5801 bump version 2017-05-30 21:36:45 +03:00
Nikolay Volf
39146a7209 Merge pull request #16 from NikVolf/mem-cfg
Expose custom memory params for new program
2017-05-30 17:40:23 +03:00
NikVolf
c03f2709cd public api and example update 2017-05-30 17:24:22 +03:00
NikVolf
d981bf4803 expose custom params for new program 2017-05-30 17:15:36 +03:00
NikVolf
c3821d5833 bump version 2017-05-23 16:40:47 +03:00
NikVolf
98ffe03729 update meta again 2017-05-23 16:40:31 +03:00
NikVolf
7bbd3cf4bb update meta 2017-05-23 16:39:16 +03:00
Nikolay Volf
14843ed6b7 Update Cargo.toml 2017-05-23 17:38:28 +04:00
Nikolay Volf
a245ff065f Update README.md 2017-05-23 17:37:57 +04:00
NikVolf
0a34cdf4e7 bump version 2017-05-22 19:55:14 +03:00
NikVolf
5aa419d3d5 few doc comments 2017-05-22 19:54:56 +03:00
Nikolay Volf
533c3a0c50 Merge pull request #14 from svyatonik/program_adapter
Program adapter
2017-05-19 16:13:28 +03:00
Svyatoslav Nikolsky
a0bfa322c6 UserFunctionExecutor 2017-05-19 09:36:50 +03:00
Svyatoslav Nikolsky
977df55323 NativeModuleInstance 2017-05-18 15:08:55 +03:00
NikVolf
3fb35f29b2 tests and bug fixed for i64store interpretation 2017-05-16 14:42:58 +03:00
NikVolf
fa86543fbb module reference in user functions closures 2017-05-15 19:03:49 +03:00
NikVolf
429e54d928 another extension of user functions tests 2017-05-15 16:15:05 +03:00
NikVolf
2063bed2bd exptended test for user functions 2017-05-15 15:57:46 +03:00
NikVolf
b7ff4d92d4 simple user function 2017-05-15 15:40:08 +03:00
NikVolf
21ff1509f6 user-functions initial 2017-05-15 13:58:55 +03:00
NikVolf
f07bf5b367 Merge branch 'master' of github.com:NikVolf/parity-wasm 2017-05-12 20:46:12 +03:00
NikVolf
74d5f152bf add module resolving to program instance 2017-05-12 20:45:58 +03:00
Nikolay Volf
760464e669 Merge pull request #7 from svyatonik/interpret_example
Interpreter example
2017-05-12 20:26:27 +03:00
NikVolf
53659c8b35 interpretter unhappy test 2017-05-12 19:49:51 +03:00
NikVolf
f02b2c5cad itemindex to public 2017-05-12 14:11:58 +03:00
Svyatoslav Nikolsky
23dd1d2f7f lost save 2017-05-10 17:06:09 +03:00
Svyatoslav Nikolsky
762893d079 interpreter example 2017-05-10 17:04:09 +03:00
NikVolf
df33d05b50 bump version with interpreter 2017-05-10 14:27:10 +03:00
Nikolay Volf
1effaf3a3c Merge pull request #6 from svyatonik/interpreter
Interpreter
2017-05-10 14:11:45 +03:00
Svyatoslav Nikolsky
19a7d875b0 Merge branch 'master' into interpreter 2017-05-10 13:09:37 +03:00