.Which compiler phase receives tokenized output?
2025
.Which compiler phase receives tokenized output?
- A.
Lexical Analyser
- B.
Parser
- C.
Pre-processor
- D.
Assembler
Attempted by 271 students.
Show answer & explanation
Correct answer: B
In a standard compiler architecture, the Lexical Analyser processes source code characters and generates tokens as its output. The subsequent phase in this pipeline is the Parser, which takes these tokenized outputs to validate syntactic structure. Therefore, the Parser is the specific phase that receives the token stream produced by the Lexical Analyser.