inducer/cgen

C/C++ source generation from an AST

78
/ 100
Verified

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.

Maintenance 10 / 25
Adoption 22 / 25
Maturity 25 / 25
Community 21 / 25

How are scores calculated?

Stars

171

Forks

35

Language

Python

License

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.