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-2020.1.tar.gz (19.9 kB view details)

Uploaded Source

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

Hashes for cgen-2020.1.tar.gz
Algorithm Hash digest
SHA256 4ec99d0c832d9f95f5e51dd18a629ad50df0b5464ce557ef42c6e0cd9478bfcf
MD5 c8fd07604abaeb7d50c48683b0ef5316
BLAKE2b-256 63d22184a24fa93a921937d5da5465e33370c314061f722edf6bebda4e17d7d5

See more details on using hashes here.

Provenance

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