August 2024
Intermediate to advanced
792 pages
23h 9m
English

In this chapter, you’ll write a minimal compiler that can handle only the simplest C programs. You’ll learn how to read a simple assembly program, and you’ll implement four basic compiler passes that you’ll build on throughout the rest of the book. Let’s start by looking at these compiler passes.
The compiler you write in this chapter will process source code in four stages:
Read now
Unlock full access