engine/engine_binding library

Classes

EngineBinding
Abstracts the FRB engine calls so the client is testable without the native lib. Returns native GridUpdates (translation from FRB types lives in the FRB-backed implementation).
FrbEngineBinding
FRB-backed binding. Owns the engine handle, translates FRB RenderUpdate into native GridUpdate, and dispatches polled terminal→host events.
RewireableEngineBinding
Implemented by bindings (typically test fakes) that allow rewiring their callbacks after construction. Production bindings like FrbEngineBinding take callbacks in their constructor and do NOT mix this in — they're wired once by EngineFactory and never rebound.