inducer/cgen
C/C++ source generation from an AST
Provides a Python-native AST for C, C++, CUDA, and OpenCL with composable node types for structured code generation. Integrates with pymbolic for symbolic mathematical expression representation. Designed for programmatic code synthesis workflows where Python logic drives target language emission rather than template-based approaches.
171 stars and 24,384 monthly downloads. Used by 2 other packages. Available on PyPI.
Stars
171
Forks
35
Language
Python
License
—
Category
Last pushed
Feb 21, 2026
Monthly downloads
24,384
Commits (30d)
0
Dependencies
3
Reverse dependents
2
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/inducer/cgen"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
westandskif/convtools
convtools is a specialized Python library for dynamic, declarative data transformations with...
pyecore/pyecore
A Python(nic) Implementation of EMF/Ecore (Eclipse Modeling Framework)
mutating/transfunctions
Say NO to Python fragmentation on sync and async
cogu/cfile
A python C code generator
FEniCS/ffcx
Next generation FEniCS Form Compiler for finite element forms