Which among the following is not a tool to construct lexical analyzer from a regular expression?

Nguyễn Tân

New member
Which among the following is not a tool to construct lexical analyzer from a regular expression?
A. lex
B. flex
C. jflex
D. none of the mentioned
 
Answer: D
Explanation: Lexical analysis is done using few tools such as lex, flex and jflex. Jflex is a computer program that generates lexical analyzers (also known as lexers or scanners) and works apparently like lex and flex. Lex is commonly used with yacc parser generator.
 

Tìm kiếm

Back
Top