graphql/libgraphqlparser
A GraphQL query parser in C++ with C and C++ APIs observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 45
- Release rhythm 8
- Longevity 100
Flags: archived
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: 4053
- days_rel: n/a
- days_push: 335
- n_releases_24m: 0
Adoption not part of the score
1107 stars · 174 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
libgraphqlparser is a C++11 parser for the GraphQL query language, exposing both C++ and pure C APIs. It uses flex and bison to generate the parser and includes a code-generation framework for AST classes and visitors, making it a foundation for building language bindings.
Use cases
- parse GraphQL queries in a C++ application
- build a GraphQL parser binding for another programming language
- convert GraphQL query text into a JSON AST representation
- analyze or validate GraphQL syntax in a C or C++ codebase
- implement a GraphQL server or toolchain from scratch
When to choose
- you need a fast native GraphQL parser with C or C++ APIs
- you are writing bindings for a language that lacks its own GraphQL parser
- you want programmatic access to a GraphQL AST with visitor support
When to avoid
- you only need GraphQL parsing in JavaScript, Python, or another high-level language with native parsers
- you want a full GraphQL execution engine rather than just parsing
- you need Windows support, which is not listed as supported
Facets
library · maturity maintenance
parser sdk parsers apis developer-tools cpp c python graphql ast flex-bison language-bindings macos linux
1 source
- readme: https://github.com/graphql/libgraphqlparser · fetched 2026-08-28 · 5c80e92d819e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| graphql/libgraphqlparser | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="graphql/libgraphqlparser")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem