alexdovzhanyn / AlchemyVM

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

Call Instruction #2

Closed alexdovzhanyn closed 5 years ago

alexdovzhanyn commented 5 years ago

Adds functionality for the :call instruction. Also slightly changes the way WaspVM executes the initial function call.

When a :call instruction is encountered, WaspVM:

We're currently using a single stack for all functions -- but it may be beneficial in the future to allow each function to have its own stack