rust-datalog

Community

In-memory Datalog in Rust for fast evaluation.

Authorhafley66
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Datalog reasoning in Rust can be complex, expensive, and error-prone when built from scratch. This Skill documents in-memory implementations and patterns using the datafrog, crepe, and ascent ecosystems to enable fast, correct fixed-point computations within Rust programs.

Core Features & Use Cases

  • In-memory, bottom-up evaluation for Datalog queries leveraging datafrog (Polonius), crepe (proc-macro), and ascent (lattices).
  • Demonstrates common operations: fixpoint iteration, joins (including anti-join), stratification, and lattice-based reasoning for advanced analyses.
  • Use Case: build high-performance static analyses or dataflow engines inside Rust projects without external databases.

Quick Start

Load a small edge dataset and run the transitive-closure example to observe the fixpoint convergence.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rust-datalog
Download link: https://github.com/hafley66/claude-research/archive/main.zip#rust-datalog

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.