Chymyst/curryhoward

Automatic code generation for Scala functions and expressions via the Curry-Howard isomorphism

40
/ 100
Emerging

Uses compile-time macros to derive function implementations by translating Scala type signatures into intuitionistic propositional logic formulas, then exhaustively searching for lambda-calculus terms that satisfy the proof via the LJT sequent calculus. Supports function types, tuples, sealed traits, and case classes; when multiple valid implementations exist, applies heuristics based on "information loss" to select the most likely correct solution. Integrates directly into Scala code as the `implement` and `ofType` macros, enabling zero-boilerplate generation of Reader monad operations, function composition, and other polymorphic utilities at compile time.

262 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 12 / 25

How are scores calculated?

Stars

262

Forks

18

Language

Scala

License

Apache-2.0

Last pushed

May 25, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/Chymyst/curryhoward"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.