Skip to content
This repository was archived by the owner on Feb 23, 2018. It is now read-only.

General Description

Skye edited this page Aug 26, 2015 · 1 revision

The architecture of the VM is quite simple, there are two stacks. The main stack and the call stack.

Both stacks can contain any value. Something in the stack is a "stack entry", which contains the type information and data.

Only the main stack can be used with most instructions, and putting data into the call stack requires special instructions as the system will error if someone is trying to return from a saved position in the call stack and the thing in the callstack is not a program position.

Clone this wiki locally