55 Commits

Author SHA1 Message Date
NikVolf
fa87fff6d0 parse names in custom section 2018-01-18 19:26:30 +03:00
Simon Heath
588706b7e8 Added Debug to lots of the elements types.
Because when I'm trying to debug my program it's nice to be able
to print out the pieces of it.

Also added Copy and Clone to a few types that could use it, just 'cause.
2018-01-09 18:35:23 -05:00
NikVolf
97257a7865 serialize buffer takes slice 2017-12-27 12:28:42 +03:00
NikVolf
18a877e692 import handy functions 2017-11-21 20:03:06 +03:00
fro
7385baf967 Clone impl for a module 2017-10-24 16:11:03 +03:00
Svyatoslav Nikolsky
4b61e18929 plain instruction set draft 2017-06-22 17:52:05 +03:00
NikVolf
06aaf4a750 extend public api 2017-06-19 21:18:16 +03:00
NikVolf
a200bd0862 proper parsing 2017-06-19 21:14:41 +03:00
NikVolf
35f22f3cdd rename FunctionsSection -> FunctionSection 2017-06-03 23:31:38 +03:00
NikVolf
af16f6dfc9 squash commits 2017-06-03 18:20:20 +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
Svyatoslav Nikolsky
19a7d875b0 Merge branch 'master' into interpreter 2017-05-10 13:09:37 +03:00
Svyatoslav Nikolsky
3c7ee09f8e continue env module implementation 2017-05-04 19:09:43 +03:00
Svyatoslav Nikolsky
cc3abac681 global_get_set 2017-05-03 11:06:26 +03:00
Svyatoslav Nikolsky
cf773eceda load_i32 2017-05-02 19:10:23 +03:00
Svyatoslav Nikolsky
a2ef2378ea callindirect_1 2017-05-02 08:01:57 +03:00
Svyatoslav Nikolsky
e14e3e055a flush 2017-04-28 13:34:58 +03:00
NikVolf
b11f34f2e5 mutable for code/data sections themselves 2017-04-26 23:15:31 +03:00
NikVolf
c52ccb7cd3 mutable global entries 2017-04-26 15:46:30 +03:00
NikVolf
31c1588a2f export section exposed 2017-04-20 17:35:53 +03:00
NikVolf
92c01ce53e missing sections in builder and order 2017-04-12 19:07:10 +03:00
NikVolf
d09a59c6bc inject example, some fixes 2017-04-10 13:11:34 +03:00
NikVolf
f85ef8f5f8 also module extensions 2017-04-07 20:00:30 +03:00
NikVolf
28aa6e9682 import section for scaffold struct 2017-04-07 15:29:02 +03:00
NikVolf
29f64f3fec module scaffolding and such 2017-04-06 16:00:12 +03:00
NikVolf
74b310113e builders intial 2017-04-06 11:34:31 +03:00
NikVolf
321d1cf4e6 docs 2017-04-04 03:03:57 +03:00
NikVolf
38da8860ed sections & module final 2017-04-03 23:08:13 +03:00
NikVolf
4e1f1f2d86 remaining sections 2017-04-03 22:58:00 +03:00
NikVolf
4dd2229243 table, memory serialization 2017-04-03 22:34:12 +03:00
NikVolf
f5aa3de18c globals and types 2017-04-03 22:29:44 +03:00
NikVolf
b9194c8e0b function body serialization test 2017-04-03 20:22:30 +03:00
NikVolf
bfa2e56bb9 ops initial 2017-04-03 19:51:18 +03:00
NikVolf
9adfff98df element section test 2017-04-03 18:40:49 +03:00
NikVolf
998c16126f fix intend 2017-04-03 18:23:10 +03:00
NikVolf
5979248f2f tests for data ser/de 2017-04-03 18:15:13 +03:00
NikVolf
ce0c1551fa serialization stubs 2017-04-03 15:56:37 +03:00
NikVolf
5adcae761c 128-bit packed serialization 2017-04-03 15:03:18 +03:00
NikVolf
a5fdfa57cf namespaces 2017-04-03 14:07:52 +03:00
NikVolf
d375cec134 elements & data section 2017-04-03 13:42:04 +03:00
NikVolf
54f59728c6 move func to mod 2017-04-03 13:18:50 +03:00
NikVolf
f60b941cd4 globals 2017-03-31 17:32:55 +03:00
NikVolf
5b93ee2236 all opcodes 2017-03-31 05:22:49 +03:00
NikVolf
210d9f4f02 fix naming 2017-03-31 04:39:31 +03:00
NikVolf
e9534999a4 flow args passing 2017-03-31 04:20:49 +03:00
NikVolf
f202703106 opcodes and wip 2017-03-31 03:28:03 +03:00
NikVolf
9e3823c3f2 export section 2017-03-31 01:54:04 +03:00
NikVolf
7b6ea0a152 table & memory sections 2017-03-30 23:57:36 +03:00
NikVolf
f1b30d648c some more tests 2017-03-30 23:49:26 +03:00