Hire Our Expert Programmer & Technical Writer To Do Your Capstone Project
0 votes
in Programming Languages & Algorithms by (user.guest)

1 Answer

+1 vote
by (user.guest)
selected by (user.guest)
 
Best answer

Some reasons to separate a lexical analyzer from a syntax analyzer:

The separation of steps of lexical and syntax analysis will allow for optimization of the lexical analyzer and will lead to improvement of efficiency in the process. 

Another reason is it also simplifies the parse and keeps it portable as the lexical analyzer may not always be portable.


Welcome to CPENTalk.com

Disclaimer: Every user is solely responsible for anything that he/she posts or uploads on CPENTalk.
...