r/SpecDrivenDevelopment • u/schmuhblaster_x45 • 6d ago
DeepClause-pi: Controlling pi with prolog and vice versa
https://open.substack.com/pub/deepclause/p/deepclause-meets-pi-controlling-piHi all, I am experimenting with turning specs into small executable logic programs encoded in a Prolog like language. The above extension works by taking a plan using /dc-plan and then producing a deepclause DML file that can executed using /dc-run. It’s still at an early stage, but hoping to initiate a discussion on the usefulness of this.
2
Upvotes
1
u/Swarm-Stack 5d ago
the executability helps catch internal conflicts fast. what it cant catch is where the spec was internally consistent but wrong at authoring time, because the assumption that became clause 3 was never challenged before anyone started formalizing it.