The first phase of the
compiler is also called
as
Answers
Answered by
3
Answer:
Lexical Analysis
Explanation:
Answered by
0
Lexical Analysis
Explanation:
- The first phase of the compiler is also called as Lexical Analysis.
- Lexical Analysis is the first step or first phase of compiling.
- In this process, the compiler scans the source code or program.
- Basically, it reads all the characters which are present in source code and groups them into lexemes.
- Each lexeme corresponds to tokens.
- Tokens are nothing but regular expressions which can be understood by lexical analyzer.
- Also, it ignores comments written in the source code or program.
Therefore, the first phase of the compiler is Lexical analysis.
Similar questions