Skip to main content

Crate harn_vm

Crate harn_vm 

Source

Re-exports§

pub use llm::register_llm_builtins;
pub use mcp::connect_mcp_server;
pub use mcp::register_mcp_builtins;
pub use stdlib::register_vm_stdlib;
pub use value::*;

Modules§

bridge
JSON-RPC 2.0 bridge for host communication.
bridge_builtins
Bridge-mode builtins that delegate to the host process via JSON-RPC.
llm
mcp
MCP (Model Context Protocol) client for connecting to external tool servers.
stdlib
value

Structs§

Chunk
A compiled chunk of bytecode.
CompileError
Compile error.
CompiledFunction
A compiled function (closure body).
Compiler
Compiles an AST into bytecode.
DebugState
Information about current execution state for the debugger.
Vm
The Harn bytecode virtual machine.

Enums§

Constant
A constant value in the constant pool.
DebugAction
Debug action returned by the debug hook.
Op
Bytecode opcodes for the Harn VM.

Functions§

register_http_builtins
Register HTTP builtins on a VM.