lotabout/write-a-C-interpreter resource
Write a simple interpreter of C. Inspired by c4 and largely based on it. observed · 2026-08-28
Health v2 · maintenance only
56/100
- Activity 53
- 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: 3906
- days_rel: n/a
- days_push: 285
- n_releases_24m: 0
Adoption not part of the score
4397 stars · 771 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A small, self-hosting C interpreter written in C, inspired by and largely based on c4, accompanied by a step-by-step tutorial series (in English and Chinese) explaining how it is built. It is primarily an educational project for learning how interpreters and compilers work.
Use cases
- learn how to write a C interpreter
- understand how compilers and interpreters work
- study a small self-hosting interpreter codebase
- follow a step-by-step compiler construction tutorial
- learn lexing and recursive descent parsing
- build a simple virtual machine in C
When to choose
- you want to learn interpreter/compiler fundamentals from readable, minimal code
- you prefer learning by reading a guided tutorial alongside the source
- you want a small self-hosting C interpreter to experiment with
When to avoid
- you need a production-grade C compiler or interpreter
- you need full C standard compliance or performance
- you want a maintained tool for running C code in real projects
Facets
learning-resource · maturity maintenance
interpreter parser compiler compilers programming-languages education tutorials windows cli c c-interpreter self-hosting tutorial compiler-design virtual-machine lexer recursive-descent linux macos
1 source
- readme: https://github.com/lotabout/write-a-C-interpreter · fetched 2026-08-28 · 72fcbfb29b19
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lotabout/write-a-C-interpreter | main | 56 |
For agents
markdown · JSON · MCP: product_card(name="lotabout/write-a-C-interpreter")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem