ShivamSarodia/ShivyC
C compiler created in Python. observed · 2026-08-28
Health v2 · maintenance only
37/100
- Activity 32
- Release rhythm 8
- Longevity 100
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: 3706
- days_rel: n/a
- days_push: 409
- n_releases_24m: 0
Adoption not part of the score
1064 stars · 85 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
ShivyC is a hobby C compiler written in Python 3 that supports a subset of the C11 standard and generates x86-64 Linux binaries with some optimizations. It also produces helpful compile-time error messages and is distributed as a pip-installable package.
Use cases
- compile simple C programs to x86-64 Linux binaries
- learn how compilers work by reading a small Python implementation
- study lexer, parser, and IL generation techniques
- experiment with compiler optimizations and error message design
- compile example programs like a trie implementation in C
When to choose
- you want a readable, educational C compiler codebase written in Python
- you need to compile a small subset of C11 on x86-64 Linux
- you are teaching or learning compiler construction
- you want a lightweight compiler with only Python 3 as a dependency
When to avoid
- you need a production-grade compiler with full C11/C17 support
- you target platforms other than x86-64 Linux
- you need a full C preprocessor with macros
- compilation speed or standards compliance is critical
Facets
cli-tool · maturity experimental
compiler parser developer-tools compilers programming-languages developer-tools parsers python cli c-compiler hobby-project x86-64 c11-subset educational linux docker
2 sources
- readme: https://github.com/ShivamSarodia/ShivyC · fetched 2026-08-28 · 3722080edbd8
- registry_pypi: https://pypi.org/pypi/shivyc/json · fetched 2026-08-29 · 79238507bef0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ShivamSarodia/ShivyC | main | 37 |
For agents
markdown · JSON · MCP: product_card(name="ShivamSarodia/ShivyC")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem