This thread was the final push I needed to add logic programming to Mochi https://github.com/mochilang/mochi — a small statically typed scripting language I’m building for agents and real-time data.
I gave OpenAI Codex a single prompt with a sample like:
I gave OpenAI Codex a single prompt with a sample like:
And it generated a working Datalog engine in Go with: Full thinking process: https://chatgpt.com/s/cd_684d3e3c59c08191b20c49ad97b66e01Total implementation was ~250 LOC. Genuinely amazed how effective the LLM was at helping bootstrap a real logic layer in one go.
The PR is here https://github.com/mochilang/mochi/pull/616