{"adoption": {"forks": 128, "observed_at": "2026-08-28T04:03:24.827327+00:00", "stars": 1057}, "canonical_url": "https://ross.abutalabs.com/products/cpp-peglib", "card": {"archived": false, "artifact_type": "library", "description": "A single file C++ header-only PEG (Parsing Expression Grammars) library", "domain": ["parsers", "programming-languages", "developer-tools"], "enriched": true, "function": ["parser", "compiler"], "health_score": 99, "homepage": "https://yhirose.github.io/cpp-peglib/", "language": "C++", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["yhirose/cpp-peglib"], "name": "yhirose/cpp-peglib", "platform": ["cpp", "cross-platform", "cli"], "pushed_at": "2026-08-18T03:57:09+00:00", "repo": "yhirose/cpp-peglib", "stars": 1057, "tags": ["header-only", "peg", "packrat-parsing", "left-recursion", "ast-generation", "parser-combinator", "cpp17"], "topics": ["cpp", "peg", "parsing-expression-grammars", "parsing", "c-plus-plus", "header-only", "parser-generator", "cpp17"], "urls": [], "use_cases": ["parse a custom DSL in C++", "build a small programming language parser", "write a config file parser with a grammar", "parse structured text like logs or ini files", "generate an AST from a grammar", "prototype parser grammars online"], "what_it_is": "A single-file, header-only C++17 library for Parsing Expression Grammars (PEG) with packrat parsing, left recursion support, and AST generation. It includes an online PEG Playground for trying grammars in the browser.", "when_to_avoid": ["you need a full lexer/parser generator with separate code generation steps", "you're not on a C++17-capable compiler", "you need extremely high throughput where hand-written parsers win"], "when_to_choose": ["you need a lightweight, dependency-free parser in a C++17 project", "you want packrat parsing or left-recursive grammar support", "you prefer defining grammars as strings rather than code"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/cpp-peglib", "repo": "yhirose/cpp-peglib", "role": "main", "score": 98}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:24.827327+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:58:02.475891+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "262fe47588ce58ff8bb34d9f54cdae845806a0dab125cb074712133ff6a34a34", "fetched_at": "2026-08-28T04:03:24.827327+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yhirose/cpp-peglib"}, {"content_hash": "642112fd5910cb6fb9134cbac1773f34556437f50f63b33ba7e349a5dfe52bee", "fetched_at": "2026-08-29T12:59:40.024307+00:00", "kind": "homepage", "missing": false, "url": "https://yhirose.github.io/cpp-peglib/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:24.827327+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:58:02.475891+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "262fe47588ce58ff8bb34d9f54cdae845806a0dab125cb074712133ff6a34a34", "fetched_at": "2026-08-28T04:03:24.827327+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yhirose/cpp-peglib"}, {"content_hash": "642112fd5910cb6fb9134cbac1773f34556437f50f63b33ba7e349a5dfe52bee", "fetched_at": "2026-08-29T12:59:40.024307+00:00", "kind": "homepage", "missing": false, "url": "https://yhirose.github.io/cpp-peglib/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:58:02.475891+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "262fe47588ce58ff8bb34d9f54cdae845806a0dab125cb074712133ff6a34a34", "fetched_at": "2026-08-28T04:03:24.827327+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yhirose/cpp-peglib"}, {"content_hash": "642112fd5910cb6fb9134cbac1773f34556437f50f63b33ba7e349a5dfe52bee", "fetched_at": "2026-08-29T12:59:40.024307+00:00", "kind": "homepage", "missing": false, "url": "https://yhirose.github.io/cpp-peglib/"}], "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:24.827327+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:24.827327+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:24.827327+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:58:02.475891+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "262fe47588ce58ff8bb34d9f54cdae845806a0dab125cb074712133ff6a34a34", "fetched_at": "2026-08-28T04:03:24.827327+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yhirose/cpp-peglib"}, {"content_hash": "642112fd5910cb6fb9134cbac1773f34556437f50f63b33ba7e349a5dfe52bee", "fetched_at": "2026-08-29T12:59:40.024307+00:00", "kind": "homepage", "missing": false, "url": "https://yhirose.github.io/cpp-peglib/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:24.827327+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:24.827327+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:58:02.475891+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "262fe47588ce58ff8bb34d9f54cdae845806a0dab125cb074712133ff6a34a34", "fetched_at": "2026-08-28T04:03:24.827327+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yhirose/cpp-peglib"}, {"content_hash": "642112fd5910cb6fb9134cbac1773f34556437f50f63b33ba7e349a5dfe52bee", "fetched_at": "2026-08-29T12:59:40.024307+00:00", "kind": "homepage", "missing": false, "url": "https://yhirose.github.io/cpp-peglib/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:24.827327+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:24.827327+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:24.827327+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:58:02.475891+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "262fe47588ce58ff8bb34d9f54cdae845806a0dab125cb074712133ff6a34a34", "fetched_at": "2026-08-28T04:03:24.827327+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yhirose/cpp-peglib"}, {"content_hash": "642112fd5910cb6fb9134cbac1773f34556437f50f63b33ba7e349a5dfe52bee", "fetched_at": "2026-08-29T12:59:40.024307+00:00", "kind": "homepage", "missing": false, "url": "https://yhirose.github.io/cpp-peglib/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:24.827327+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:24.827327+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:58:02.475891+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "262fe47588ce58ff8bb34d9f54cdae845806a0dab125cb074712133ff6a34a34", "fetched_at": "2026-08-28T04:03:24.827327+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yhirose/cpp-peglib"}, {"content_hash": "642112fd5910cb6fb9134cbac1773f34556437f50f63b33ba7e349a5dfe52bee", "fetched_at": "2026-08-29T12:59:40.024307+00:00", "kind": "homepage", "missing": false, "url": "https://yhirose.github.io/cpp-peglib/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:58:02.475891+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "262fe47588ce58ff8bb34d9f54cdae845806a0dab125cb074712133ff6a34a34", "fetched_at": "2026-08-28T04:03:24.827327+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yhirose/cpp-peglib"}, {"content_hash": "642112fd5910cb6fb9134cbac1773f34556437f50f63b33ba7e349a5dfe52bee", "fetched_at": "2026-08-29T12:59:40.024307+00:00", "kind": "homepage", "missing": false, "url": "https://yhirose.github.io/cpp-peglib/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:58:02.475891+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "262fe47588ce58ff8bb34d9f54cdae845806a0dab125cb074712133ff6a34a34", "fetched_at": "2026-08-28T04:03:24.827327+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yhirose/cpp-peglib"}, {"content_hash": "642112fd5910cb6fb9134cbac1773f34556437f50f63b33ba7e349a5dfe52bee", "fetched_at": "2026-08-29T12:59:40.024307+00:00", "kind": "homepage", "missing": false, "url": "https://yhirose.github.io/cpp-peglib/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:58:02.475891+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "262fe47588ce58ff8bb34d9f54cdae845806a0dab125cb074712133ff6a34a34", "fetched_at": "2026-08-28T04:03:24.827327+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yhirose/cpp-peglib"}, {"content_hash": "642112fd5910cb6fb9134cbac1773f34556437f50f63b33ba7e349a5dfe52bee", "fetched_at": "2026-08-29T12:59:40.024307+00:00", "kind": "homepage", "missing": false, "url": "https://yhirose.github.io/cpp-peglib/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 100, "rhythm": 98}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4225, "days_push": 15, "days_rel": 15, "gap_med": 14, "n_releases_24m": 14}, "score": 98, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}