This library is in flux. APIs may change without notice. Generated from source with koruc 0.1.7 on 10/5/2026.

Bridge.hostverbs

~import std/bridge.hostverbs

Koru Standard Library: the `hostverbs` part of bridge — the session-

bridge.hostverbs.kz · 2 tors

Koru Standard Library: the `hostverbs` part of bridge — the session- · 18 more lines
Koru Standard Library: the `hostverbs` part of bridge — the session- level verbs the interpreter dispatches when the scope's own dispatcher denies: `vocabulary`, `grammar`, and `bind`, plus the tor surfaces that render the same text to host callers. Joined via `~part hostverbs` in bridge.kz; merged into the bridge module at load. VOCABULARY - the derived prompt, session-shaped `std/runtime:scope-vocabulary` renders a scope's COMPILED tors — the base vocabulary the program was built with. This tor grows that with the session's DEFINED flows, so the prompt walks the whole environment a REPL accumulates: compiled scopes plus the verbs the agent invented on earlier turns. That visibility is the second half of the R1 claim — an invention the agent never sees in its own prompt is an invention it will not use. The same arena discipline as scope-vocabulary: the returned string is page-backed and intentionally never freed, because it must outlive this call and land in the caller's prompt buffer.