rust-lang/chalk
An implementation and definition of the Rust trait system using a PROLOG-like logic solver observed · 2026-08-28
Health v2 · maintenance only
52/100
- Activity 66
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4056
- days_rel: n/a
- days_push: 206
- n_releases_24m: 0
Adoption not part of the score
2010 stars · 183 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Chalk is a Rust library that implements the Rust trait system using a Prolog-like logic solver, converting trait and impl information into logical inference rules to answer queries such as whether a type implements a trait. It was intended for integration into rustc but has been sunset in favor of the newer next-generation trait solver.
Use cases
- answer trait queries like does Vec<u8> implement Debug
- implement a Rust-like type checker or linter
- study how Rust traits lower to logic
- experiment with logic programming for type systems
- build tooling that resolves trait obligations
When to choose
- you need a standalone, embeddable trait solver for Rust-like languages
- you want to learn or research trait system design and lowering to logic
- you are building experimental type-checking tools
When to avoid
- you need a trait solver for production rustc work - use the new next-generation trait solver instead
- you expect active development - the project has been sunset
- you need a general-purpose Prolog engine
Facets
library · maturity maintenance
interpreter type-system compiler parser programming-languages compilers rust cross-platform trait-system logic-programming prolog rust-compiler type-inference sunset-project algorithms
2 sources
- readme: https://github.com/rust-lang/chalk · fetched 2026-08-28 · e384ccf36da3
- homepage: https://rust-lang.github.io/chalk/book/ · fetched 2026-08-29 · f7baaf6b92fc
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rust-lang/chalk | main | 52 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem