JhnW/devana
Python package to parse and generate C/C++ code as context aware preprocessor.
Leverages libclang for AST parsing while patching its limitations to provide robust semantic understanding of declarations, templates, and type definitions. Excels at header-level code analysis and transformation—classes, functions, templates, typedefs—with function bodies accessible as raw strings for future enhancement. Enables programmatic code generation and refactoring workflows by modeling C/C++ constructs as Python objects rather than raw text.
No commits in the last 6 months. Available on PyPI.
Stars
18
Forks
6
Language
C++
License
LGPL-2.1
Category
Last pushed
Aug 11, 2025
Monthly downloads
466
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
Samsung/UTopia
UT based automated fuzz driver generation
SoftSec-KAIST/CodeAlchemist
CodeAlchemist: Semantics-Aware Code Generation to Find Vulnerabilities in JavaScript Engines (NDSS '19)
MASD-Project/dogen
Reference implementation of the MASD Code Generator.