{"adoption": {"forks": 771, "observed_at": "2026-08-28T04:08:48.209063+00:00", "stars": 4397}, "canonical_url": "https://ross.abutalabs.com/products/write-a-c-interpreter", "card": {"archived": false, "artifact_type": "learning-resource", "description": "Write a simple interpreter of C. Inspired by c4 and largely based on it.", "domain": ["compilers", "programming-languages", "education", "tutorials"], "enriched": true, "function": ["interpreter", "parser", "compiler"], "health_score": 52, "homepage": null, "language": "C", "license": "GPL-2.0", "license_family": "copyleft", "maturity": "maintenance", "member_repos": ["lotabout/write-a-C-interpreter"], "name": "lotabout/write-a-C-interpreter", "platform": ["windows", "cli", "c"], "pushed_at": "2025-11-22T01:54:12+00:00", "repo": "lotabout/write-a-C-interpreter", "stars": 4397, "tags": ["c-interpreter", "self-hosting", "tutorial", "compiler-design", "virtual-machine", "lexer", "recursive-descent", "linux", "macos"], "topics": [], "urls": [], "use_cases": ["learn how to write a C interpreter", "understand how compilers and interpreters work", "study a small self-hosting interpreter codebase", "follow a step-by-step compiler construction tutorial", "learn lexing and recursive descent parsing", "build a simple virtual machine in C"], "what_it_is": "A small, self-hosting C interpreter written in C, inspired by and largely based on c4, accompanied by a step-by-step tutorial series (in English and Chinese) explaining how it is built. It is primarily an educational project for learning how interpreters and compilers work.", "when_to_avoid": ["you need a production-grade C compiler or interpreter", "you need full C standard compliance or performance", "you want a maintained tool for running C code in real projects"], "when_to_choose": ["you want to learn interpreter/compiler fundamentals from readable, minimal code", "you prefer learning by reading a guided tutorial alongside the source", "you want a small self-hosting C interpreter to experiment with"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/write-a-c-interpreter", "repo": "lotabout/write-a-C-interpreter", "role": "main", "score": 56}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:48.209063+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:21:09.632113+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72fcbfb29b19472c52853356eafbbf6264fcab39186b3df559824c3b2acd1b86", "fetched_at": "2026-08-28T04:08:48.209063+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lotabout/write-a-C-interpreter"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:48.209063+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:21:09.632113+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72fcbfb29b19472c52853356eafbbf6264fcab39186b3df559824c3b2acd1b86", "fetched_at": "2026-08-28T04:08:48.209063+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lotabout/write-a-C-interpreter"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:21:09.632113+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72fcbfb29b19472c52853356eafbbf6264fcab39186b3df559824c3b2acd1b86", "fetched_at": "2026-08-28T04:08:48.209063+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lotabout/write-a-C-interpreter"}], "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:08:48.209063+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:48.209063+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:48.209063+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:21:09.632113+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72fcbfb29b19472c52853356eafbbf6264fcab39186b3df559824c3b2acd1b86", "fetched_at": "2026-08-28T04:08:48.209063+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lotabout/write-a-C-interpreter"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:48.209063+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:48.209063+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:21:09.632113+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72fcbfb29b19472c52853356eafbbf6264fcab39186b3df559824c3b2acd1b86", "fetched_at": "2026-08-28T04:08:48.209063+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lotabout/write-a-C-interpreter"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:48.209063+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:48.209063+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:48.209063+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:21:09.632113+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72fcbfb29b19472c52853356eafbbf6264fcab39186b3df559824c3b2acd1b86", "fetched_at": "2026-08-28T04:08:48.209063+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lotabout/write-a-C-interpreter"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:48.209063+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:48.209063+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:21:09.632113+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72fcbfb29b19472c52853356eafbbf6264fcab39186b3df559824c3b2acd1b86", "fetched_at": "2026-08-28T04:08:48.209063+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lotabout/write-a-C-interpreter"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:21:09.632113+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72fcbfb29b19472c52853356eafbbf6264fcab39186b3df559824c3b2acd1b86", "fetched_at": "2026-08-28T04:08:48.209063+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lotabout/write-a-C-interpreter"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:21:09.632113+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72fcbfb29b19472c52853356eafbbf6264fcab39186b3df559824c3b2acd1b86", "fetched_at": "2026-08-28T04:08:48.209063+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lotabout/write-a-C-interpreter"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:21:09.632113+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72fcbfb29b19472c52853356eafbbf6264fcab39186b3df559824c3b2acd1b86", "fetched_at": "2026-08-28T04:08:48.209063+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lotabout/write-a-C-interpreter"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 53, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3906, "days_push": 285, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 56, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}