sysprog21/shecc
A self-hosting and educational C optimizing compiler observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- 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-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2194
- days_rel: n/a
- days_push: 9
- n_releases_24m: 0
Adoption not part of the score
1381 stars · 164 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
shecc is a self-hosting, educational optimizing C compiler written in ANSI C that targets 32-bit ARMv7-A and RV32IM (RISC-V) Linux systems. It includes its own front-end, SSA-based middle-end optimizations, and machine code generator, producing ELF executables without external assembler or linker.
Use cases
- compile a subset of C to ARMv7 or RISC-V 32-bit Linux executables
- learn how compilers work by reading a small self-contained implementation
- bootstrap a compiler from source in stages
- study SSA-based compiler optimizations
- generate ELF binaries without needing an external assembler or linker
- cross-compile C programs for Raspberry Pi or QEMU RISC-V
When to choose
- you want an educational, readable compiler codebase for ARM or RISC-V
- you need a self-hosting C compiler for bootstrapping experiments
- you want to compile a C subset to Linux ELF binaries without toolchain dependencies
When to avoid
- you need full C standard compliance or production-grade optimization
- you target 64-bit architectures or non-Linux platforms
- you need a fast, mature toolchain like GCC or Clang for real projects
Facets
cli-tool · maturity active
compiler parser developer-tools compilers programming-languages developer-tools operating-systems cli cross-platform c-compiler self-hosting ssa armv7 risc-v elf-generation educational bootstrapping code-generation linux arm riscv
1 source
- readme: https://github.com/sysprog21/shecc · fetched 2026-08-28 · 1d4960977ecf
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sysprog21/shecc | main | 77 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem