logo
Expand description

Bytecode generation.

See compile for an example that compiles a ResolvedProgram into a Program, ready to be run by run or VM::run.

Structs

An error reported by the compiler.

An Itsy bytecode program. Programs can be created using the compile function or the bytecode Writer and can be executed by run or VM::run.

Bytecode buffer and writer.

Enums

Builtin functions callable via the builtincall opcode. Generated from method signatures defined via the impl_builtins! macro.

Represents the various possible compiler error-kinds.

Bytecode instructions. Generated from bytecode method signatures defined via the impl_opcodes! macro.

Traits

Trait for writing typed data to a program const pool.

Functions

Compiles a resolved program into bytecode.