Getting your lesson ready…

0
Reading your lesson…
0:00 / 0:00

What are the three stages of a compiler?

A lesson on the-super-tiny-compiler, a GitHub repo. Computing, college level.

A compiler turns code in one language into code in another.

Most compilers do this in three stages.

First comes parsing.

Then comes transformation.

Last comes code generation.

Think of it as a line of three workers.

Each one takes what the worker before made and passes its own result on.

Our tiny compiler follows this same plan.

Questions in this lesson