Compiler Foundations Checkpoint

Pipeline stages, tokens, grammar, and AST basics.


1. Which stage turns characters into tokens?
2. A grammar primarily describes:
3. An AST differs from a parse tree because it:
4. Name one stage that typically comes after parsing.
5. Why track line and column in tokens?
6. IR stands for: