{"id":15401712,"url":"https://github.com/maekawatoshiki/qcc","last_synced_at":"2025-04-15T22:30:49.123Z","repository":{"id":90341520,"uuid":"70221316","full_name":"maekawatoshiki/qcc","owner":"maekawatoshiki","description":"qcc is a small toy C compiler","archived":false,"fork":false,"pushed_at":"2017-04-10T12:16:32.000Z","size":244,"stargazers_count":41,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-29T03:41:23.789Z","etag":null,"topics":["compiler","cpp","cpp11","llvm","toy"],"latest_commit_sha":null,"homepage":null,"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/maekawatoshiki.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":"2016-10-07T06:31:08.000Z","updated_at":"2024-11-22T15:53:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"15bafc9c-54b0-4b26-99af-4c054348aca1","html_url":"https://github.com/maekawatoshiki/qcc","commit_stats":{"total_commits":226,"total_committers":4,"mean_commits":56.5,"dds":"0.053097345132743334","last_synced_commit":"c73fe2174c1d3ba748fe2021cd45cd967e7842a0"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maekawatoshiki%2Fqcc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maekawatoshiki%2Fqcc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maekawatoshiki%2Fqcc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maekawatoshiki%2Fqcc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maekawatoshiki","download_url":"https://codeload.github.com/maekawatoshiki/qcc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249165877,"owners_count":21223343,"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":["compiler","cpp","cpp11","llvm","toy"],"created_at":"2024-10-01T15:59:06.815Z","updated_at":"2025-04-15T22:30:48.586Z","avatar_url":"https://github.com/maekawatoshiki.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QCC\n\n[![](https://img.shields.io/travis/maekawatoshiki/qcc.svg?style=flat-square)](https://travis-ci.org/maekawatoshiki/qcc)\n[![](http://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](./LICENSE)\n\n- qcc is a small toy compiler for C language.\n- waiting for pull-req!\n\n\n# FEATURES\n- qcc generates bitcode from C source code with LLVM. so we have to convert bitcode to native.\n- the shell script './qcc.sh' does it. or do yourself such as below:\n```\n$ ./qcc c.c -o c.bc # qcc generates c.bc\n$ llc-3.8 c.bc # c.bc -\u003e c.s\n$ clang c.s # c.s -\u003e a.out\n```\n\n# BUILD\n- used tools: clang, llvm-3.8\n- if you are using Ubuntu or Debian, maybe you can see what you have to apt-get install if you look at Dockerfile.\n```\n$ make\n$ make test\n$ ./qcc.sh \u003cSOURCE CODE\u003e\n```\n\n# TRY ON DOCKER\n- follow below\n```\ndocker build -t=\"qcc\" .\ndocker run -it \"qcc\" .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaekawatoshiki%2Fqcc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaekawatoshiki%2Fqcc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaekawatoshiki%2Fqcc/lists"}