Which term refers to the first phase of compilation that converts source code into a sequence of tokens?
- A. Lexical analysis ✓
- B. Compiler
- C. Code generation
- D. Recursive descent parser
Correct answer
A. Lexical analysis
Explanation
Lexical analysis refers to the first phase of compilation that converts source code into a sequence of tokens.