go-vise

Constrained Size Output Virtual Machine
Info | Log | Files | Refs | README | LICENSE

commit 9fe958fc24992cd008ba0a7b888e4c084b20b0a1
parent 98e738aa9299fcacd36a73d0067be94ac1dd7392
Author: lash <dev@holbrook.no>
Date:   Sat,  1 Apr 2023 15:40:51 +0100

More readme edit

Diffstat:
MREADME.md | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md @@ -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. * `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`. -* `RELOAD <symbol>` - Execute a code symbol already loaded by `LOAD` and cache the data, constrained to the given `size`. -* `MAP <symbol>` - Expose a code symbol previously loaded by `LOAD`. Roughly corresponds to the `global` directive in Python. -* `MOVE <symbol>` - Create a new execution frame, invalidating all previous `MAP` calls. +* `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` to the rendering client. Roughly corresponds to the `global` directive in Python. +* `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