rui314/9cc
Some data may be outdated — see provenance labels.
A Small C Compiler observed · 2026-09-27
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-22. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3000
- days_rel: n/a
- days_push: 2153
- n_releases_24m: 0
Adoption not part of the score
1950 stars · 157 forks observed · 2026-09-27
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
9cc is a small C compiler written in C that compiles source code to x86-64 assembly through a simple, readable pipeline of parsing, semantic analysis, IR generation, register allocation, and code generation. It is designed for extreme code clarity rather than performance or full C compliance, and has been superseded by the author's chibicc project.
Use cases
- learn how a C compiler works by reading a small codebase
- study recursive descent parsing without lex/yacc
- see how register allocation and IR generation are implemented
- compile small C programs to x86-64 assembly
- use as a base for building your own compiler
When to choose
- you want a minimal, easy-to-read compiler implementation for learning
- you need a simple C-to-x86-64 compiler for experimentation or teaching
When to avoid
- you need a production C compiler - use GCC or Clang
- you need full C standard compliance or optimizations
- you want an actively maintained project - use chibicc instead
Facets
cli-tool · maturity abandoned
compiler parser developer-tools compilers programming-languages developer-tools education cpp cli c-compiler x86-64 recursive-descent-parser learning-project retired compiler linux
1 source
- readme: https://github.com/rui314/9cc · fetched 2026-09-27 · 5807313bc526
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rui314/9cc | main | 32 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem