/Users/thejameskyle/code/the-super-tiny-compiler/README.md Star this in GitHub Follow me on Twitter Remix this in Glitch

Welcome to The Super Tiny Compiler!

An @thejameskyle production

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.

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. These are really useful concepts to have at your disposal.

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.

I've done my best to try and keep this from being a scary experience. I hope that reading this will be a positive learning experience for you.

Okay so where do I begin?

Awesome! Head on over to 0-introduction.md and then work your way down the list of files.