core.logic brings logic programming to Clojure and ClojureScript through an implementation of miniKanren, enabling relational, constraint-based, and nominal logic programming. It allows complex reasoning and declarative problem-solving directly in Clojure. core.unify provides a la carte unification facilities that are not deeply tied into the operation of a logic engine. While core.logic does provide a similar simple unifier interface with support for specifying fine-grained constraints, if you have no need for a logic programming system, core.unify may be a better fit.

Features

  • Prolog-like relational programming with run*, fresh, == constructs
  • Supports constraint logic programming and nominal logic extensions
  • Built on miniKanren with extensions from cKanren and αKanren
  • Integration with both Clojure (JVM) and ClojureScript (JS) environments
  • Enables expressive logic queries over Clojure data structures
  • Extensible design for building custom logic paradigms

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Eclipse Public License

Follow core.logic

core.logic Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of core.logic!

Additional Project Details

Registered

2025-08-20