LunaAmora/4orth

Implement the return stack

Closed this issue · 0 comments

Local memories in the current version are implemented as a hack, using wasm locals instead of a return stack. This causes problems when using the pointer to a local mem to do things other than direct read or write.

A proper return stack must be implemented to fix this issue and lay the ground work to #1