Lex
Lex is a tool or a computer program that generates Lexical Analyzers (converts the stream of characters into tokens). The Lex tool itself is a compiler. The Lex compiler takes the input and transforms that input into input patterns. It is commonly used with YACC(Yet Another Compiler Compiler). It was written by Mike Lesk and Eric Schmidt.
What is LEX in Compiler Design?
In this article, we will understand what is Lex in Compiler Design but before understanding Lex we have to understand what is Lexical Analysis.
Contact Us