Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Lexing

The Lexing stage is the first major stage of the compiler. It takes raw source code as input and produces a stream of tokens as output.