My experimental harness framework [0] allows for defining a harness in terms of a Prolog-based DSL executed in a WASM runtime.
The harness itself is a REPL module for the prolog interpreter. When it’s asked to modify itself it snapshots the module, tries to build something, then either commits a new module version or rolls back. Eventually I hope to use the Prolog base to run some automated, deterministic verifications before anything gets executed. Maybe Prolog isn’t the right choice here given modern SMT solvers, but I do enjoy working with it somehow :-)
It seems to work alright, but I feel that “traditional” harnesses have a much better UX, as there are less layers in between.
haha we frequently joke that we are reinventing prolog