Skip to main content

C/C++ source generation from an AST

Project description

Gitlab Build Status Azure Build Status Python Package Index Release Page

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:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cgen-2019.1.tar.gz (20.4 kB view details)

Uploaded Source

File details

Details for the file cgen-2019.1.tar.gz.

File metadata

  • Download URL: cgen-2019.1.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.4+

File hashes

Hashes for cgen-2019.1.tar.gz
Algorithm Hash digest
SHA256 d5285fe4e6202aed7c7f16fb6606b885c34c30e93a3ca6c7d33839e1a5fbfd11
MD5 19eba1281c9bb49970176ef905947932
BLAKE2b-256 924e3f90d389714e005853d98041ec75ec06815179f47db735e5c45a41d579d6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page