standardese/cppast
Library to parse and work with the C++ AST observed · 2026-08-28
Health v2 · maintenance only
60/100
- Activity 83
- 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-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3434
- days_rel: n/a
- days_push: 106
- n_releases_24m: 0
Adoption not part of the score
1783 stars · 173 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
cppast is a C++ library providing a high-level interface to the C++ abstract syntax tree, built on top of libclang with workarounds for its limitations. It supports parsing source files, synthesizing AST entities, reading documentation comments, and generating code.
Use cases
- parse C++ source files to inspect the AST
- build a C++ documentation generator
- extract documentation comments from C++ headers
- generate C++ code from parsed entities
- build a reflection tool for C++
- write a static analysis tool for C++ codebases
When to choose
- you need a standalone C++ AST tool and libclang's raw API is too limited
- you want to build a documentation generator or reflection library for C++
- you need to synthesize AST entities or generate code, not just parse
- you want a parser backend decoupled from the AST representation
When to avoid
- you need to parse function bodies or full expression/statement information
- you need to modify parsed entities (they are immutable)
- you are working in a language other than C++
- you need guaranteed support for rare edge cases in the C++ grammar
Facets
library · maturity active
parser compiler documentation developer-tools parsers developer-tools documentation programming-languages cpp cross-platform cli cpp-ast libclang code-generation documentation-comments reflection
1 source
- readme: https://github.com/standardese/cppast · fetched 2026-08-28 · 18811171c093
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| standardese/cppast | main | 60 |
For agents
markdown · JSON · MCP: product_card(name="standardese/cppast")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem