Crate koto_bytecode

Source
Expand description

Contains Koto’s compiler and its bytecode operations

Structs§

Chunk
A compiled chunk of bytecode, along with its associated constants and metadata
Compiler
The compiler used by the Koto language
CompilerError
The error type used to report errors during compilation
CompilerSettings
The settings used by the Compiler
DebugInfo
Debug information for a Koto program
FunctionFlags
Flags used to define the properties of a Function
InstructionReader
An iterator that converts bytecode into a series of Instructions
ModuleLoader
Helper for loading, compiling, and caching Koto modules
ModuleLoaderError
The error type used by the ModuleLoader
StringFormatFlags
Format flags used by the StringPush op

Enums§

Instruction
Decoded instructions produced by an InstructionReader for execution in the runtime
Op
The operations used in Koto bytecode

Functions§

find_module
Finds a module that matches the given name