61 Commits

Author SHA1 Message Date
Arnavion
0ab2aa15b2 Parse reloc sections in roundtrip example. 2018-03-07 21:23:05 -08:00
NikVolf
e8d324e6b2 also test and example 2018-02-21 17:56:21 +03:00
NikVolf
4e28d0c61e drop interpreter 2018-02-21 13:37:13 +03:00
NikVolf
2979bfdf36 Fix warnings and bump version 2018-02-09 15:44:55 +03:00
NikVolf
f915a89b9d spaces to tabs 2018-01-23 22:47:20 +03:00
NikVolf
30d210020a remove test feature 2018-01-22 17:41:10 +03:00
NikVolf
d909b71c8f add tabs 2018-01-22 17:20:01 +03:00
NikVolf
ce905b1fa2 decoder simple bencher 2018-01-22 17:09:52 +03:00
NikVolf
f62f54cb92 add example and apply to roundtrip 2018-01-18 19:56:13 +03:00
Sergey Pepyakin
2690ca2018 Clean. 2017-11-28 18:10:15 +03:00
Sergey Pepyakin
9c79d48855 Fix examples 2017-11-28 18:09:55 +03:00
Sergey Pepyakin
3160f61b64 Rename EnvParams → EmscriptenParams 2017-11-27 20:27:06 +03:00
Sergey Pepyakin
0ea8a48a64 Renamings. 2017-11-27 16:11:12 +03:00
Sergey Pepyakin
ea6275cc9d Clean 2017-11-26 00:30:43 +03:00
Nikolay Volf
efd011cb37 Merge pull request #89 from NikVolf/increase_table_size
Increase DEFAULT_TABLE_SIZE from 16 to 64
2017-09-04 13:35:13 +02:00
Svyatoslav Nikolsky
a85162dcd1 added memory/table import limits validation 2017-09-04 12:00:01 +03:00
fro
9936ba63f7 redundant comments removed 2017-09-04 11:04:42 +03:00
fro
b2807f579a line sep added 2017-08-30 13:54:26 +03:00
fro
aba747fb23 small fix 2017-08-29 20:09:16 +03:00
fro
cfe80e364e examples/exports.rs and examples/interpret.rs doc 2017-08-29 19:59:45 +03:00
fro
d86167a145 comment external parameter 2017-08-23 16:10:54 +03:00
fro
f06daece56 comments update + remove empty space 2017-08-23 16:10:54 +03:00
fro
b06a5a98c8 update comments 2017-08-23 16:10:54 +03:00
fro
17531ee92e fix comments 2017-08-23 16:10:54 +03:00
fro
70de398f79 update 2017-08-23 16:10:54 +03:00
fro
351e7ab45c comments added to the invoke example 2017-08-23 16:10:54 +03:00
NikVolf
fef4afaf7a fix spelling 2017-08-17 17:49:12 +03:00
NikVolf
2c489518bf export.rs comments 2017-08-17 17:40:07 +03:00
NikVolf
e216dab787 data.rs comments 2017-08-17 17:30:13 +03:00
NikVolf
6e4bb38690 build.rs comments 2017-08-17 17:25:49 +03:00
fro
846f63db11 a simple example of getting module function exports with their names and types 2017-08-02 18:19:23 +03:00
Svyatoslav Nikolsky
9437b7bdfc merge 2 error enums 2017-08-01 14:44:33 +03:00
Svyatoslav Nikolsky
a02fdf5836 return custom user errors from native functions 2017-08-01 13:16:25 +03:00
NikVolf
e1e4448d5d data inspection example 2017-07-27 16:29:50 +03:00
fro
f9832b046b additional module info 2017-07-20 18:31:15 +03:00
fro
0b48ed50ad a little fix 2017-07-17 20:16:46 +03:00
fro
ac36045bed only function imports should be excluded from function index in order to get a correct index in the function section 2017-07-17 17:02:54 +03:00
fro
bd0c0f70e7 only function imports should be excluded from function_index 2017-07-17 16:59:40 +03:00
fro
1b8ecf11a5 various fixes, code cleanup
fix: exclude imports from function index
2017-07-17 14:51:59 +03:00
fro
bf12f12af5 rename interpret_mul_args -> invoke
cli arguments parsing according to function type
2017-07-13 20:25:05 +03:00
fro
43a81e661a type section added in info example 2017-07-13 15:07:13 +03:00
fro
e9e5972b38 example of interpret with multiple aguments and fn name 2017-07-12 19:22:23 +03:00
Svyatoslav Nikolsky
4b61e18929 plain instruction set draft 2017-06-22 17:52:05 +03:00
Svyatoslav Nikolsky
0ee2826943 another tests added 2017-06-13 12:01:59 +03:00
NikVolf
a080b42db0 fix also functions_section -> function_section 2017-06-03 23:37:36 +03:00
Dan Gohman
828ae06805 Add a "roundtrip" example which deserializes and serializes a module. 2017-06-02 09:09:01 -07:00
NikVolf
c03f2709cd public api and example update 2017-05-30 17:24:22 +03:00
Svyatoslav Nikolsky
977df55323 NativeModuleInstance 2017-05-18 15:08:55 +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