Compiler Building | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Compiler Building

how to build compiler uses lexical analyzer ?? c/c++

26th Mar 2021, 9:09 AM
Noor Al Deen Abdullah
Noor Al Deen Abdullah - avatar
1 Answer
+ 3
Sorry, the question is a bit unclear. If you mean "how to build compiler using lexical analyser", then the answer is that the compilation process has much more to it than lexical analysis. Lexical analysis only parses the code into tokens. Here is a basic overview of the phases of the compilation process https://www.tutorialspoint.com/compiler_design/compiler_design_phases_of_compiler.htm
26th Mar 2021, 10:05 AM
XXX
XXX - avatar