jimmyorourke/reflecxx
A static reflection framework for C++, using libclang.
This C++ framework helps C++ developers add introspection and serialization capabilities to their code without manual boilerplate. You tag C++ classes and enums, and it automatically generates the necessary code to inspect their members, iterate through them, compare instances, and even convert them to and from JSON. This is ideal for C++ application developers building complex systems that need dynamic understanding and manipulation of their data structures.
No commits in the last 6 months.
Use this if you are a C++ developer needing to easily query the structure of your classes and enums at runtime, generate JSON serialization/deserialization code, or implement visitor patterns without writing repetitive boilerplate.
Not ideal if you are working with older C++ standards (pre-C++17) or if your project prohibits external dependencies like libclang and Python for build-time code generation.
Stars
55
Forks
2
Language
Python
License
MIT
Category
Last pushed
May 03, 2022
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/jimmyorourke/reflecxx"
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