drh/lcc
The lcc retargetable ANSI C compiler observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5814
- days_rel: n/a
- days_push: 696
- n_releases_24m: 0
Adoption not part of the score
2612 stars · 488 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
lcc is a retargetable ANSI C (C89) compiler with code generators for Alpha, SPARC, MIPS R3000, and x86. It is the companion to the book 'A Retargetable C Compiler: Design and Implementation' and includes full source code and a code-generator generator.
Use cases
- compile ANSI C code for multiple CPU architectures
- study the source code of a complete production C compiler
- learn compiler design and retargetable code generation
- add a new backend target to a C compiler
- teach a compilers course with real-world code
When to choose
- you need a small, readable C compiler to study or modify
- you want to retarget a C compiler to a new architecture
- you need a C89 compiler for teaching or research
When to avoid
- you need modern C standards support (C99/C11/C17)
- you need a production compiler with active optimization development
- you require a project with an explicit open-source license
Facets
cli-tool · maturity maintenance
compiler programming-language developer-tools compilers programming-languages developer-tools windows cross-platform cli retargetable-compiler ansi-c c89 code-generation compiler-design linux macos
2 sources
- readme: https://github.com/drh/lcc · fetched 2026-08-28 · 7d178c5b5084
- homepage: https://drh.github.io/lcc/ · fetched 2026-08-29 · 0673191bd67d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| drh/lcc | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem