More readme edit
This commit is contained in:
parent
98e738aa92
commit
9fe958fc24
@ -11,11 +11,11 @@ The VM defines the following opcode symbols:
|
|||||||
|
|
||||||
* `BACK` - Return to the previous execution frame (will fail if at top frame). It leaves to the state of the execution layer to define what "previous" means.
|
* `BACK` - Return to the previous execution frame (will fail if at top frame). It leaves to the state of the execution layer to define what "previous" means.
|
||||||
* `CATCH <symbol> <signal>` - Jump to symbol if signal is set (see `signal` below).
|
* `CATCH <symbol> <signal>` - Jump to symbol if signal is set (see `signal` below).
|
||||||
* `CROAK <signal>` - Clear state and restart execution from tip if signal is set (see `signal` below).
|
* `CROAK <signal>` - Clear state and restart execution from top if signal is set (see `signal` below).
|
||||||
* `LOAD <symbol> <size>` - Execute the code symbol `symbol` and cache the data, constrained to the given `size`.
|
* `LOAD <symbol> <size>` - Execute the code symbol `symbol` and cache the data, constrained to the given `size`.
|
||||||
* `RELOAD <symbol>` - Execute a code symbol already loaded by `LOAD` and cache the data, constrained to the given `size`.
|
* `RELOAD <symbol>` - Execute a code symbol already loaded by `LOAD` and cache the data, constrained to the previously given `size` for the same symbol.
|
||||||
* `MAP <symbol>` - Expose a code symbol previously loaded by `LOAD`. Roughly corresponds to the `global` directive in Python.
|
* `MAP <symbol>` - Expose a code symbol previously loaded by `LOAD` to the rendering client. Roughly corresponds to the `global` directive in Python.
|
||||||
* `MOVE <symbol>` - Create a new execution frame, invalidating all previous `MAP` calls.
|
* `MOVE <symbol>` - Create a new execution frame, invalidating all previous `MAP` calls. More detailed: After a `MOVE` call, a `BACK` call will return to the same execution frame, with the same symbols available, but all `MAP` calls will have to be repeated.
|
||||||
|
|
||||||
|
|
||||||
## Rendering
|
## Rendering
|
||||||
|
Loading…
Reference in New Issue
Block a user