alexdovzhanyn / AlchemyVM

WebAssembly Virtual Machine Built In Elixir
MIT License
189 stars 5 forks source link

Implement Table Initialization #34

Open alexdovzhanyn opened 5 years ago

alexdovzhanyn commented 5 years ago

We need a data structure in the module instance to represent tables as defined in the table section of any given WebAssembly module. This initialization will be based on the elements provided in the element section of the module. An element is to a table what a data section is to memory.

This initialization needs to happen in module_instance.ex, where all the other module attributes are initialized.

Issue #4 is a blocker for this issue.