Fedjmike/mini-c

Dr Strangehack, or: how to write a self-hosting C compiler in 10 hours

35
/ 100
Emerging

Generates 32-bit x86 assembly via single-pass compilation with interleaved code generation and parsing, delegating assembly/linking to GCC. Supports core C constructs (functions, control flow, operators, arrays, pointers) within a typeless integer-only system. Achieves minimal implementation size by including only features that reduce total code footprint, with a self-hosting bootstrap chain verified through compilation of itself.

531 stars. No commits in the last 6 months.

No License Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 8 / 25
Community 17 / 25

How are scores calculated?

Stars

531

Forks

58

Language

C

License

Last pushed

Apr 15, 2022

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/Fedjmike/mini-c"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.