Which concept of grammar is used in the compiler?
(a) Lexical analysis
(b) Parser
(c) Code generation
(d) Code optimization
The question was posed to me in examination.
This question is from Lexical Analysis in division Compiler Introduction of Compiler