{"id":50055986,"url":"https://github.com/code-yeongyu/c11-compiler-zig-omo","last_synced_at":"2026-05-21T13:14:27.593Z","repository":{"id":354087700,"uuid":"1222071547","full_name":"code-yeongyu/c11-compiler-zig-omo","owner":"code-yeongyu","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-27T04:53:41.000Z","size":560,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-27T05:24:04.607Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/code-yeongyu.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-27T02:38:16.000Z","updated_at":"2026-04-27T04:53:45.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/code-yeongyu/c11-compiler-zig-omo","commit_stats":null,"previous_names":["code-yeongyu/c11-compiler-zig-omo"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/code-yeongyu/c11-compiler-zig-omo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-yeongyu%2Fc11-compiler-zig-omo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-yeongyu%2Fc11-compiler-zig-omo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-yeongyu%2Fc11-compiler-zig-omo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-yeongyu%2Fc11-compiler-zig-omo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code-yeongyu","download_url":"https://codeload.github.com/code-yeongyu/c11-compiler-zig-omo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-yeongyu%2Fc11-compiler-zig-omo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33301831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T12:23:38.849Z","status":"ssl_error","status_checked_at":"2026-05-21T12:22:11.673Z","response_time":62,"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":[],"created_at":"2026-05-21T13:14:26.607Z","updated_at":"2026-05-21T13:14:27.587Z","avatar_url":"https://github.com/code-yeongyu.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# c11-compiler-zig-omo\n\nA three-phase project:\n\n1. **Phase 1** — reference C11 code that exercises the harder corners of the C11 spec:\n   - DOOM (`phase1/doom`), built under native gcc/clang and Linux gcc-in-docker.\n   - HTTP/2 server (`phase1/http2`) with auto-detected kqueue / epoll / io_uring.\n   - A hand-crafted C11 conformance suite (`phase1/c11-ref`).\n2. **Phase 2** — a C11 compiler in Zig 0.16+, **zero external dependencies**, exploiting async / threads / multi-process / multi-core.\n3. **Phase 3** — verification: take Phase 1's C code (and a battery of edge cases), compile it with the Phase 2 compiler, debug the output with gdb + Ghidra under both native and cross-compilation targets, in `-O0` and optimized builds.\n\nSee [`docs/team/charter.md`](docs/team/charter.md) for how the team operates, and [`docs/decisions/0001-stack-and-toolchain.md`](docs/decisions/0001-stack-and-toolchain.md) for the toolchain matrix.\n\n## Quick start\n\n```bash\nbrew install zig gdb ghidra\ndocker pull gcc:14\ngh repo clone code-yeongyu/c11-compiler-zig-omo\n```\n\n## Directory layout\n\n```\nphase1/\n  doom/        # patched id-software/doom\n  http2/       # HTTP/2 server (kqueue / epoll / io_uring)\n  c11-ref/     # C11 conformance suite\nphase2/\n  src/         # Zig compiler sources\n  tests/\nphase3/        # verification scripts (zcc-vs-gcc, gdb/ghidra harnesses)\n.github/\n  workflows/   # Phase-1, Phase-2, Phase-3 CI\ndocs/\n  team/        # team charter\n  decisions/   # ADRs\n  playbooks/   # how-to (worktrees, debug, ...)\n  reviews/     # PR/phase reviews\n```\n\n## Project tracker\n\n[Roadmap issue #1](https://github.com/code-yeongyu/c11-compiler-zig-omo/issues/1)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-yeongyu%2Fc11-compiler-zig-omo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-yeongyu%2Fc11-compiler-zig-omo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-yeongyu%2Fc11-compiler-zig-omo/lists"}