Crate extendable_vm

Source

Modules§

parsing_exceptions
runtime_exceptions

Structs§

CallFrame
A struct that stores information about an active function call.
Chunk
Executable code with a list of constants.
Code
A list of chunks
CodeParser
Parses code from raw bytes using a table of constant parsers.
ConstantParser
Defines how bytecode constants are parsed.
ConstantParserTable
A set of constant parsers
Exception
An error that is raised by the VM
Instruction
Describes one type of instructions that the VM supports.
InstructionPointer
Location in code
InstructionTable
A set of instruction definitions
Machine
The entire state of the VM
RawBytes
A vector of bytes
RawBytesPointer
The current reading location of RawBytes

Enums§

ExceptionType
A property that splits exceptions into 2 groups
InstructionFn
A function that implements a certain instruction type.

Traits§

ByteReadable
Something that is readable with a pointer

Type Aliases§

RawInstructionFn