quarb-session 0.3.0

Backend-agnostic interactive Quarb session — macro history (&N/&N!/&N#) over a pluggable Executor and Store
Documentation

The backend-agnostic interactive Quarb session.

The session logic — the &N / &N! / &N# macro history, its resolution, and rendering coordination — is pure and depends on two pluggable seams:

  • an [Executor]: where the arbor materializes and queries run. [LocalExecutor] runs in-process (the native full fleet, or the wasm text-format subset); a daemon executor (native, elsewhere) proxies to a resident process.
  • a [Store]: where the session's durable state persists — a file store on native, a browser store (localStorage) on wasm, or [MemStore] for none.

Results cross those seams as [Cell]s — node results already rendered to their locator string, value results keeping their type — because a raw NodeId is meaningless across a socket or the JS boundary.