Skip to content

isuruf/cgen

 
 

Repository files navigation

cgen: An Abstract Syntax Tree for C, in Python

Gitlab Build Status

Github 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

About

C/C++ source generation from an AST

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%