{"id":18781414,"url":"https://github.com/andrewchambers/qc","last_synced_at":"2025-10-26T12:16:23.475Z","repository":{"id":4054256,"uuid":"51812413","full_name":"andrewchambers/qc","owner":"andrewchambers","description":"quick c","archived":false,"fork":false,"pushed_at":"2022-03-19T22:49:08.000Z","size":199,"stargazers_count":35,"open_issues_count":2,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-06T13:52:38.705Z","etag":null,"topics":["c","compiler"],"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/andrewchambers.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}},"created_at":"2016-02-16T06:09:27.000Z","updated_at":"2024-11-23T19:39:44.000Z","dependencies_parsed_at":"2022-08-06T14:30:42.739Z","dependency_job_id":null,"html_url":"https://github.com/andrewchambers/qc","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/andrewchambers%2Fqc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewchambers%2Fqc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewchambers%2Fqc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewchambers%2Fqc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewchambers","download_url":"https://codeload.github.com/andrewchambers/qc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248710437,"owners_count":21149188,"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"],"created_at":"2024-11-07T20:31:40.712Z","updated_at":"2025-10-26T12:16:23.422Z","avatar_url":"https://github.com/andrewchambers.png","language":"C","readme":"# Quick C\n\nqc is a c frontend for the awesome [QBE](http://c9x.me/compile/) ssa backend written by Quentin Carbonneaux.\n\nThe frontend itself is written in the [Myrddin](https://myrlang.org) programming\nlanguage, a language by Ori Bernstein that is under heavy development, and also rocks.\n\n# Project Goals\n\n- Give QBE a serious C frontend to use for testing.\n- Make Myrddin self hosting language, even if it depends on some C code.\n- Allow Myrddin programs to embed C code without depending on the system C compiler.\n- Spread awareness of the Myrddin programming language.\n\n# Status\n\nThe compiler itself is nearly complete enough to start compiling real programs. My first target will be my old [self hosting C compiler](https://github.com/andrewchambers/c). Currently, more than 5k LOC from that project can be built with qc + qbe.\n\nThere is not much work required to complete that goal, though there will be a steady grind of bug fixes to make it a reality.\n\n# Building\n\nYou must have the Myrddin programming language installed, then building is a single command.\n\n`mbld`\n\nThe compiler itself should work on linux, macos, freebsd, openbsd and plan9. Though qbe can only target a subset of those platforms.\n\n# Running tests\n\n`mbld test`\n\n# Contact\n\nIRC: irc.eigenstate.org in #myrddin (nick: ac)\n","funding_links":[],"categories":["C"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewchambers%2Fqc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewchambers%2Fqc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewchambers%2Fqc/lists"}