Fedjmike/mini-c

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

35
/ 100
Emerging

This is a C compiler designed to be incredibly small and self-hosting. It takes C source code as input and produces 32-bit x86 assembly code, which can then be compiled and linked into an executable. This tool is for compiler developers or hobbyists interested in understanding the fundamental mechanics of how a compiler works.

531 stars. No commits in the last 6 months.

Use this if you are a compiler developer or enthusiast who wants to learn how a C compiler can be implemented from scratch with minimal code.

Not ideal if you need a full-featured C compiler for production-level software development or for compiling complex C applications.

compiler-development systems-programming programming-language-design software-engineering-education
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.