Module
Mycroft.Solver
- Package
- purescript-mycroft
- Repository
- afcondon/purescript-mycroft
The session layer: a solver kept in lockstep. The simple-smt trick
— set :print-success immediately, so every command produces
exactly one response s-expression and framing is trivial: write one
form, read one form.
The transport is abstracted: newSolver speaks to a subprocess
(z3 -in -smt2 by default); other backends (the WASM build, a
remote solver) supply their own Transport via newSolverWith
and inherit the whole veneer above this module unchanged.