Tech News
← Back to articles

Show HN: Vibe Prolog

read original related products more articles

Vibe Prolog 🎶 💻 🐪

In early November 2025, Anthropic had a program giving out $250 credits for Claude Code on the web. It expired on November 18, and on November 15 I still had $220 left.

I was working on something else and as a side effect accidently vibe coded a prolog interpretor on my phone over the weekend.

I haven't used Prolog for 20 years, and but it does seem to be roughly correct.

This project is to see how far I can push it. 🚀

Did I really ask Codex to add more Emojis to this README? Yes I did...

Try it out

> uv run main.py ./examples/examples.pl -q "mammal(X)" -v Loading program from './examples/examples.pl'... Successfully loaded './examples/examples.pl' Query: mammal(X). Solution 1: X = dog Solution 2: X = cat > uv run main.py ./examples/examples.pl -q "grandparent('tom', Y)" -v Loading program from './examples/examples.pl'... Successfully loaded './examples/examples.pl' Query: grandparent('tom', Y). Solution 1: Y = ann Solution 2: Y = pat

The Rules 📜

No human written code. Can prompt things, can tell tools what changes to make but no human written code should be used.

... continue reading