Ask your own question, for FREE!
Computer Science 13 Online
OpenStudy (anonymous):

what is parser and lexical analyser?(no wiki)

OpenStudy (anonymous):

first i'll get with parser parser is a part of the compiler which parses...It means that it divides the given stream into smaller elements the lexical analyzer takes these source code divides it into tokens identifies which regexp it is suited to and then applies its conditions on to that variable and then passes it to the parser eg: int i=45; now,the lexical analyzer divides into tokens the first token is 'i','=','45' it takes the form of an identifier 'id' which can hold only numerical values of a certain range.and then to '=' and then to '45'. then it constructs a parse tree to validate that statement.

OpenStudy (anonymous):

krace pls come on chat box

OpenStudy (anonymous):

http://en.wikipedia.org/wiki/Compiler look into this you will get all information.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!