{"adoption": {"forks": 41, "observed_at": "2026-08-28T04:03:30.422326+00:00", "stars": 1080}, "canonical_url": "https://ross.abutalabs.com/products/grin-compiler-grin", "card": {"archived": false, "artifact_type": "library", "description": "GRIN is a compiler back-end for lazy and strict functional languages with whole program optimization support.", "domain": ["compilers", "programming-languages", "performance"], "enriched": true, "function": ["compiler", "build-tool"], "health_score": 36, "homepage": "https://grin-compiler.github.io/", "language": "Haskell", "license": null, "license_family": "other", "maturity": "active", "member_repos": ["grin-compiler/grin"], "name": "grin-compiler/grin", "platform": ["cpp"], "pushed_at": "2025-06-13T11:21:35+00:00", "repo": "grin-compiler/grin", "stars": 1080, "tags": ["intermediate-representation", "whole-program-optimization", "graph-reduction", "haskell-compiler", "llvm-backend", "wasm-targeting", "research-compiler", "functional-programming", "linux", "macos", "llvm"], "topics": ["optimisation", "compiler", "haskell", "llvm", "data-flow-analysis", "functional-programming"], "urls": [], "use_cases": ["optimize compiled Haskell programs with whole-program analysis", "compile functional languages to smaller and faster binaries", "target WebAssembly from a functional language", "research graph reduction and functional language optimization techniques", "improve the code generation pipeline of Idris", "experiment with alternative Haskell compiler backends"], "what_it_is": "GRIN (Graph Reduction Intermediate Notation) is a compiler back-end and optimizer for lazy and strict functional languages, providing whole-program optimization and code generation. It includes language frontends for Haskell, Idris, and Agda and can target backends like LLVM and WebAssembly.", "when_to_avoid": ["you need a production-ready, stable Haskell compiler today - GHC/GRIN is work in progress", "you only need standard LLVM-level optimization for imperative languages", "you need guaranteed runtime support - Idris/GRIN runtime is incomplete and Agda/GRIN is a stub", "you require a permissively licensed dependency - the repository lists no license"], "when_to_choose": ["you are building or improving a compiler for a lazy or strict functional language", "you need whole-program optimization beyond what LLVM provides", "you are researching functional language compilation and graph reduction", "you want to compile Haskell, Idris, or Agda code to new targets like WebAssembly"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/grin-compiler-grin", "repo": "grin-compiler/grin", "role": "main", "score": 34}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.422326+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:51:28.325854+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a113a89664b1847f8355d13d28b2199d0ed3a87cc707cb54bbb29a78efab0a0e", "fetched_at": "2026-08-28T04:03:30.422326+00:00", "kind": "readme", "missing": false, "url": "https://github.com/grin-compiler/grin"}, {"content_hash": "c73c96d6f4be65d3757161d38f7e5a2f96c55135d5b23c57324fc35e2f47b427", "fetched_at": "2026-08-29T12:53:45.383310+00:00", "kind": "homepage", "missing": false, "url": "https://grin-compiler.github.io/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.422326+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:51:28.325854+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a113a89664b1847f8355d13d28b2199d0ed3a87cc707cb54bbb29a78efab0a0e", "fetched_at": "2026-08-28T04:03:30.422326+00:00", "kind": "readme", "missing": false, "url": "https://github.com/grin-compiler/grin"}, {"content_hash": "c73c96d6f4be65d3757161d38f7e5a2f96c55135d5b23c57324fc35e2f47b427", "fetched_at": "2026-08-29T12:53:45.383310+00:00", "kind": "homepage", "missing": false, "url": "https://grin-compiler.github.io/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:51:28.325854+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a113a89664b1847f8355d13d28b2199d0ed3a87cc707cb54bbb29a78efab0a0e", "fetched_at": "2026-08-28T04:03:30.422326+00:00", "kind": "readme", "missing": false, "url": "https://github.com/grin-compiler/grin"}, {"content_hash": "c73c96d6f4be65d3757161d38f7e5a2f96c55135d5b23c57324fc35e2f47b427", "fetched_at": "2026-08-29T12:53:45.383310+00:00", "kind": "homepage", "missing": false, "url": "https://grin-compiler.github.io/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.422326+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.422326+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.422326+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:51:28.325854+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a113a89664b1847f8355d13d28b2199d0ed3a87cc707cb54bbb29a78efab0a0e", "fetched_at": "2026-08-28T04:03:30.422326+00:00", "kind": "readme", "missing": false, "url": "https://github.com/grin-compiler/grin"}, {"content_hash": "c73c96d6f4be65d3757161d38f7e5a2f96c55135d5b23c57324fc35e2f47b427", "fetched_at": "2026-08-29T12:53:45.383310+00:00", "kind": "homepage", "missing": false, "url": "https://grin-compiler.github.io/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.422326+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.422326+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:51:28.325854+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a113a89664b1847f8355d13d28b2199d0ed3a87cc707cb54bbb29a78efab0a0e", "fetched_at": "2026-08-28T04:03:30.422326+00:00", "kind": "readme", "missing": false, "url": "https://github.com/grin-compiler/grin"}, {"content_hash": "c73c96d6f4be65d3757161d38f7e5a2f96c55135d5b23c57324fc35e2f47b427", "fetched_at": "2026-08-29T12:53:45.383310+00:00", "kind": "homepage", "missing": false, "url": "https://grin-compiler.github.io/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.422326+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.422326+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.422326+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:51:28.325854+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a113a89664b1847f8355d13d28b2199d0ed3a87cc707cb54bbb29a78efab0a0e", "fetched_at": "2026-08-28T04:03:30.422326+00:00", "kind": "readme", "missing": false, "url": "https://github.com/grin-compiler/grin"}, {"content_hash": "c73c96d6f4be65d3757161d38f7e5a2f96c55135d5b23c57324fc35e2f47b427", "fetched_at": "2026-08-29T12:53:45.383310+00:00", "kind": "homepage", "missing": false, "url": "https://grin-compiler.github.io/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.422326+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.422326+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:51:28.325854+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a113a89664b1847f8355d13d28b2199d0ed3a87cc707cb54bbb29a78efab0a0e", "fetched_at": "2026-08-28T04:03:30.422326+00:00", "kind": "readme", "missing": false, "url": "https://github.com/grin-compiler/grin"}, {"content_hash": "c73c96d6f4be65d3757161d38f7e5a2f96c55135d5b23c57324fc35e2f47b427", "fetched_at": "2026-08-29T12:53:45.383310+00:00", "kind": "homepage", "missing": false, "url": "https://grin-compiler.github.io/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:51:28.325854+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a113a89664b1847f8355d13d28b2199d0ed3a87cc707cb54bbb29a78efab0a0e", "fetched_at": "2026-08-28T04:03:30.422326+00:00", "kind": "readme", "missing": false, "url": "https://github.com/grin-compiler/grin"}, {"content_hash": "c73c96d6f4be65d3757161d38f7e5a2f96c55135d5b23c57324fc35e2f47b427", "fetched_at": "2026-08-29T12:53:45.383310+00:00", "kind": "homepage", "missing": false, "url": "https://grin-compiler.github.io/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:51:28.325854+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a113a89664b1847f8355d13d28b2199d0ed3a87cc707cb54bbb29a78efab0a0e", "fetched_at": "2026-08-28T04:03:30.422326+00:00", "kind": "readme", "missing": false, "url": "https://github.com/grin-compiler/grin"}, {"content_hash": "c73c96d6f4be65d3757161d38f7e5a2f96c55135d5b23c57324fc35e2f47b427", "fetched_at": "2026-08-29T12:53:45.383310+00:00", "kind": "homepage", "missing": false, "url": "https://grin-compiler.github.io/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:51:28.325854+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a113a89664b1847f8355d13d28b2199d0ed3a87cc707cb54bbb29a78efab0a0e", "fetched_at": "2026-08-28T04:03:30.422326+00:00", "kind": "readme", "missing": false, "url": "https://github.com/grin-compiler/grin"}, {"content_hash": "c73c96d6f4be65d3757161d38f7e5a2f96c55135d5b23c57324fc35e2f47b427", "fetched_at": "2026-08-29T12:53:45.383310+00:00", "kind": "homepage", "missing": false, "url": "https://grin-compiler.github.io/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 26, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3358, "days_push": 446, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 34, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}