JhnW/devana
Python package to parse and generate C/C++ code as context aware preprocessor.
This tool helps C/C++ developers who need to understand, manipulate, or automatically generate C/C++ code, particularly at the header level. It takes existing C/C++ source files and allows for structured parsing, modification, and regeneration of code elements like class definitions, function signatures, and templates. It's designed for developers working on tools that process or generate C/C++ code.
No commits in the last 6 months. Available on PyPI.
Use this if you are a C/C++ developer creating tools that need to programmatically parse, analyze, or generate C/C++ header-level code.
Not ideal if you primarily need to manipulate control statements or arithmetic operations within function bodies, as these are currently treated as raw strings.
Stars
18
Forks
6
Language
C++
License
LGPL-2.1
Category
Last pushed
Aug 11, 2025
Commits (30d)
0
Dependencies
1
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/JhnW/devana"
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
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
MASD-Project/dogen
Reference implementation of the MASD Code Generator.