What is the difference between lexical and syntactical analysis?
Answers
Answered by
0
Hii dear here is your answer
Whereas "name my is Rahul" makes no sense. Lexical analysis is the first phase of a compiler. It takes the modified source code from language pre processors that are written in theform of sentences. A syntax analyzer or parser takes the input from a lexicalanalyzer in the form of token streams.
Whereas "name my is Rahul" makes no sense. Lexical analysis is the first phase of a compiler. It takes the modified source code from language pre processors that are written in theform of sentences. A syntax analyzer or parser takes the input from a lexicalanalyzer in the form of token streams.
Similar questions