{"id":17968577,"url":"https://github.com/inducer/cgen","last_synced_at":"2025-10-25T13:48:05.576Z","repository":{"id":1564874,"uuid":"1988511","full_name":"inducer/cgen","owner":"inducer","description":"C/C++ source generation from an AST","archived":false,"fork":false,"pushed_at":"2025-01-10T18:03:10.000Z","size":281,"stargazers_count":163,"open_issues_count":6,"forks_count":34,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-05-09T09:53:36.060Z","etag":null,"topics":["abstract-syntax-tree","ast","c","code-generation","python"],"latest_commit_sha":null,"homepage":"http://pypi.python.org/pypi/cgen","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"tigrish/redmine_s3","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inducer.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-07-02T18:02:04.000Z","updated_at":"2025-04-19T11:16:05.000Z","dependencies_parsed_at":"2024-12-07T05:03:22.187Z","dependency_job_id":"12cad5e4-9646-4f90-b28a-509ba915e1e5","html_url":"https://github.com/inducer/cgen","commit_stats":{"total_commits":236,"total_committers":22,"mean_commits":"10.727272727272727","dds":0.288135593220339,"last_synced_commit":"99f520eca2d0aa1c79d205dba63a5219515b821b"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inducer%2Fcgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inducer%2Fcgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inducer%2Fcgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inducer%2Fcgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inducer","download_url":"https://codeload.github.com/inducer/cgen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254374388,"owners_count":22060609,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["abstract-syntax-tree","ast","c","code-generation","python"],"created_at":"2024-10-29T14:40:49.381Z","updated_at":"2025-10-25T13:48:05.559Z","avatar_url":"https://github.com/inducer.png","language":"Python","readme":"cgen: An Abstract Syntax Tree for C, in Python\n----------------------------------------------\n\n.. image:: https://gitlab.tiker.net/inducer/cgen/badges/main/pipeline.svg\n    :alt: Gitlab Build Status\n    :target: https://gitlab.tiker.net/inducer/cgen/commits/main\n.. image:: https://github.com/inducer/cgen/actions/workflows/ci.yml/badge.svg\n    :alt: Github Build Status\n    :target: https://github.com/inducer/cgen/actions/workflows/ci.yml\n.. image:: https://badge.fury.io/py/cgen.svg\n    :alt: Python Package Index Release Page\n    :target: https://pypi.org/project/cgen/\n\ncgen offers a simple abstract syntax tree for C and related languages\n(C++/CUDA/OpenCL) to allow structured code generation from Python.\nTo represent mathematical expressions, cgen can be used with `pymbolic\n\u003chttps://github.com/inducer/pymbolic\u003e`__.\n\nPlaces on the web related to cgen:\n\n* `Python package index \u003chttps://pypi.org/project/cgen\u003e`__ (download releases)\n* `Documentation \u003chttps://documen.tician.de/cgen\u003e`__ (read how things work)\n* `Github \u003chttps://github.com/inducer/cgen\u003e`__ (get latest source code, file bugs)\n\ncgen is licensed under the liberal `MIT license\n\u003chttps://en.wikipedia.org/wiki/MIT_License\u003e`__ and free for commercial, academic,\nand private use. All of cgen's dependencies can be automatically installed from\nthe package index after using::\n\n    pip install cgen\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finducer%2Fcgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finducer%2Fcgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finducer%2Fcgen/lists"}