Expand description
The Hexicon virtual machine.
This crate runs the games Hexicon builds (.hxg files). Their layout
and instruction set are the T3 VM’s, and it follows the T3 VM
specification, and where that is silent, the behavior of the
reference interpreter.
The VM does no input or output of its own. Everything it needs from
the outside world comes through a hexicon_host::Host.
Modules§
Structs§
- ObjId
- An object ID: an index into the VM’s object table.
- Rebuilt
Image - An image, as the rewriter writes it.
- Runtime
Error - An error raised by the VM itself, as opposed to an exception object a program throws.
- Vm
- The virtual machine with a program loaded.
Enums§
- ErrParam
- A value substituted into an error message.
- RunState
- Where a program stands after it has run for a while.
- Value
- A value, as the virtual machine holds one.
- VmError
- Why execution stopped.
Functions§
- decode_
text - Text in a named character set, as a string;
Noneif the name is not one of a character set that is known. A byte that the set has no character for becomes U+FFFD.