jamiebuilds/the-super-tiny-compiler
jamiebuilds/the-super-tiny-compiler has 28,544 GitHub stars and 2,844 forks. GitHot measured -3 stars in 24 hours. Last checked 2026-11-06 22:59 UTC. Last push 2024-02-19.
:snowman: Possibly the smallest compiler ever
Measured star growth
- in 24h
- -3
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalWelcome to The Super Tiny Compiler!
This is an ultra-simplified example of all the major pieces of a modern compiler written in easy to read JavaScript.
Reading through the guided code will help you learn about how most compilers work from end to end.
Want to jump into the code? Click here
You can also check it out on Glitch
Why should I care?
That's fair, most people don't really have to think about compilers in their day jobs. However, compilers are all around you, tons of the tools you use are based on concepts borrowed from compilers.
But compilers are scary!
Yes, they are. But that's our fault (the people who write compilers), we've taken something that is reasonably straightforward and made it so scary that most think of it as this totally unapproachable thing that only the nerdiest of the nerds are able to understand.
Okay so where do I begin?
Awesome! Head on over to the the-super-tiny-compiler.js file.
I'm back, that didn't make sense
Ouch, I'm really sorry. Let me know how it can be improved.
Tests
Run with node test.js
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,520 starspublic-apis/public-apis
A collective list of free APIs
496,809 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
438,740 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,093 stars
