{"id":16397537,"url":"https://github.com/coord-e/ccc","last_synced_at":"2026-04-09T10:39:15.817Z","repository":{"id":115890915,"uuid":"194197937","full_name":"coord-e/ccc","owner":"coord-e","description":"optimizing compiler for a subset of C language","archived":false,"fork":false,"pushed_at":"2019-10-07T13:27:18.000Z","size":754,"stargazers_count":34,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-03-14T23:07:39.595Z","etag":null,"topics":["c","compiler","optimization"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coord-e.png","metadata":{"files":{"readme":"README.md","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":"2019-06-28T03:10:44.000Z","updated_at":"2024-05-21T13:53:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"5dffbdab-3d38-411f-8c3e-050abb552c41","html_url":"https://github.com/coord-e/ccc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coord-e%2Fccc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coord-e%2Fccc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coord-e%2Fccc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coord-e%2Fccc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coord-e","download_url":"https://codeload.github.com/coord-e/ccc/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245056892,"owners_count":20553854,"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":["c","compiler","optimization"],"created_at":"2024-10-11T05:10:21.062Z","updated_at":"2026-04-09T10:39:10.779Z","avatar_url":"https://github.com/coord-e.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ccc\n\n[![Build Status](https://travis-ci.com/coord-e/ccc.svg?branch=develop)](https://travis-ci.com/coord-e/ccc)\n\na work-in-progress compiler for a tiny subset of C language.\n\nccc is intended to be an optimizing compiler that produces code which is faster than gcc -O1 does, and compiles faster than that.\n\n## Roadmap\n\n- [ ] support C11 features\n  - [x] arithmetic operations\n  - [x] pointer arithmetic\n  - [x] arrays\n  - [x] type checker\n    - [ ] support type qualifiers\n  - [x] implicit type conversions\n  - [ ] initializers\n    - [x] scalar\n    - [x] array\n    - [ ] struct\n    - [ ] designated initializers\n  - [ ] a copy of struct\n    - [x] local assignment\n    - [ ] argument\n    - [ ] return value\n  - [ ] preprocessor\n  - [ ] self-hosting\n  - [ ] complex declarators\n  - [ ] alignment specifiers\n  - [ ] float-point values\n- [ ] optimizations\n  - [x] linear scan register allocation\n  - [x] naive mem2reg\n  - [x] constant folding\n  - [x] copy propagation\n  - [x] dead code elimination\n  - [ ] tail call optimization\n  - [ ] loop unwinding\n- [ ] misc\n  - [ ] improved error messages\n  - [ ] better support of debuggers\n  - [ ] support targets other than x86_64\n\n## Development\n\nTo build ccc, run:\n\n```shell\nmake\n```\n\nYou'll see a compiled binary under `./build/`.\n\nYou can add `DEBUG=0` to get an optimized build of `ccc`.\n\nTo run tests, use `test` target:\n\n```shell\nmake test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoord-e%2Fccc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoord-e%2Fccc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoord-e%2Fccc/lists"}