{"id":38097585,"url":"https://github.com/dcepelik/mcc","last_synced_at":"2026-01-16T21:04:28.895Z","repository":{"id":100023755,"uuid":"75874979","full_name":"dcepelik/mcc","owner":"dcepelik","description":"Minimalist C compiler (work in progress).","archived":false,"fork":false,"pushed_at":"2018-01-26T19:22:17.000Z","size":1650,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-01-30T01:17:11.733Z","etag":null,"topics":["c","compiler","optimization","simple"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dcepelik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-12-07T20:56:20.000Z","updated_at":"2021-03-13T01:11:00.000Z","dependencies_parsed_at":"2023-05-11T18:00:16.870Z","dependency_job_id":null,"html_url":"https://github.com/dcepelik/mcc","commit_stats":{"total_commits":141,"total_committers":3,"mean_commits":47.0,"dds":"0.36879432624113473","last_synced_commit":"1e945aca275d6016cf6ee188444490f85fc55761"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dcepelik/mcc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcepelik%2Fmcc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcepelik%2Fmcc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcepelik%2Fmcc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcepelik%2Fmcc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcepelik","download_url":"https://codeload.github.com/dcepelik/mcc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcepelik%2Fmcc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28482495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","simple"],"created_at":"2026-01-16T21:04:26.760Z","updated_at":"2026-01-16T21:04:28.867Z","avatar_url":"https://github.com/dcepelik.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minimalist C Compiler (`mcc`)\n\n(Or maybe Modular C Compiler? Or maybe both, I haven't decided yet.)\n\n## Why do I bother?\n\n(An apology for myself.)\n\n* I want to know what goes into writing a compiler from scratch. Reading books about it\n  just won't do anymore.\n* I hate Bison and Flex and I actually *enjoy* writing fast lexers and parsers by hand.\n  Don't judge me, everyone's got a perversion.\n* I want to learn to write complex software and compilers have always attracted me.\n* I need a framework to test out new code optimization algorithms without having to fight\n  over existing code.\n* Writing a C compiler in C looks like an opportunity to get to know all the dark corners\n  of C.\n* I'm interested in code optimization.\n* I'd love to write something I can be proud of (at least a bit).\n\n## Design Goals\n\n* An experimental compiler rather than a production one.\n* Make the code robust and reusable.\n* Write it so that a reasonably smart person can read it and see how it works.\n* Keep it short and terse.\n\n### Front-end\n\n* KISS\n* C11-only\n* Favor performance over flexibility\n* Fast as hell\n* Decent static analysis\n* Warnings are errors by default\n\n### Back-end\n\n* KISS\n* x86-64 only\n* Favor flexibility over performance\n* Highly modular\n* Highly configurable\n* Make it easy to hack\n\n## Good Reading\n\n* [John Regehr's Blog](https://blog.regehr.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcepelik%2Fmcc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcepelik%2Fmcc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcepelik%2Fmcc/lists"}