top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What are the different tasks of Lexical analysis?

+4 votes
233 views
What are the different tasks of Lexical analysis?
posted Aug 18, 2015 by Mohammed Hussain

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

The purpose of the lexical analyzer is to partition the input text, delivering a sequence of comments and basic symbols. Comments are character sequences to be ignored, while basic symbols are character sequences that correspond to terminal symbols of the grammar defining the phrase structure of the input

answer Oct 17, 2016 by Manikandan J
Similar Questions
+2 votes

Need a C program which reads a program written in any programming language and then
perform lexical analysis. The output of program should contain the tokens i.e. classification
as identifier, special symbol, delimiter, operator, keyword or string. It should also display the
number of identifiers, special symbol, delimiter, operator, keyword, strings and statements.

...