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
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
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