C/C++ source generation from an AST
Project description
cgen offers a simple abstract syntax tree for C and related languages (C++/CUDA/OpenCL) to allow structured code generation from Python. To represent mathematical expressions, cgen can be used with pymbolic.
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cgen-2020.1.tar.gz
(19.9 kB
view details)
File details
Details for the file cgen-2020.1.tar.gz
.
File metadata
- Download URL: cgen-2020.1.tar.gz
- Upload date:
- Size: 19.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ec99d0c832d9f95f5e51dd18a629ad50df0b5464ce557ef42c6e0cd9478bfcf |
|
MD5 | c8fd07604abaeb7d50c48683b0ef5316 |
|
BLAKE2b-256 | 63d22184a24fa93a921937d5da5465e33370c314061f722edf6bebda4e17d7d5 |