C/C++ source generation from an AST
cgen offers a simple abstract syntax tree for C and related languages (C++/CUDA/OpenCL) to allow structured code generation from Python.
Places on the web related to cgen:
Python package index (download releases)
Documentation (read how things work)
Github (get latest source code, file bugs)
cgen is licensed under the liberal MIT license and free for commercial, academic, and private use. All of cgen’s dependencies can be automatically installed from the package index after using:
pip install cgen
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size cgen-2017.1.tar.gz (17.1 kB)||File type Source||Python version None||Upload date||Hashes View hashes|