Compilers 101

COMPILERSAUTOMATA 5 chapters

A practical compiler front-end course covering pipeline fundamentals, BNF grammar design, lexing, arena-backed interning, and recursive-descent parsing.

Building a compiler from scratch is one of the most rewarding software engineering challenges. It forces you to bridge the gap between abstract human-readable text and concrete machine-executable logic.

In this course, we will walk through the entire front-end of a modern compiler. We’ll start with the fundamentals of lexing and syntax, traverse the mathematical theory behind pattern recognition, and ultimately implement a robust, error-recovering parser and semantic analyzer.

Whether you’re a seasoned engineer looking to demystify how your tools work, or a student trying to grasp the magic of translating code, this track is designed for you. Let’s dive in.

Compiler Foundations

Section 1
1 chapter

Automata Theory — optional deep dive

Section 2
4 chapters

The rest of this course is still under development, any and all feedback is very welcome! If you have suggestions for topics you’d like to see covered, or if you want to contribute a chapter, please reach out to me!