Multiple choice

Pick out the machine independent phase of a compiler.

  1. Syntax Analysis

  2. Code Generation

  3. Lexical Analysis

  4. Intermediate Code Generation

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Syntax analysis (parsing) deals with the structure of the language defined by a grammar, which is independent of the specific machine architecture on which the code will run.