lcsmuller/reflect-c
Code-generates ANSI C helpers that give your structs reflection-style access to field names, types, and values.
This tool helps C developers automatically create metadata for their structs, unions, and enums. Instead of manually writing code to describe the layout of complex C data structures, you define your types using special macros. The tool then generates C helper functions and data tables that allow generic code to inspect or manipulate these types at runtime. It's for C developers who need to add reflection-like capabilities to their projects.
Use this if you are a C developer building applications that need to dynamically inspect, serialize, or manipulate complex C data structures without writing extensive boilerplate code.
Not ideal if you are working with languages other than C, or if your project does not require runtime introspection or serialization of C types.
Stars
15
Forks
—
Language
C
License
MIT
Category
Last pushed
Jan 24, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/lcsmuller/reflect-c"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
howerj/dbcc
CAN DBC to C (and CSV, JSON and XML) compiler using the mpc parser combinator library
JhnW/devana
Python package to parse and generate C/C++ code as context aware preprocessor.
biojppm/regen
Easy C++ reflection and code generation
SoftSec-KAIST/CodeAlchemist
CodeAlchemist: Semantics-Aware Code Generation to Find Vulnerabilities in JavaScript Engines (NDSS '19)
Samsung/UTopia
UT based automated fuzz driver generation