wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Input of Lex is-

A
Set of regular expression
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
Statement
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Numeric data
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
ASCII code
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B Set of regular expression

Input of Lex is set of regular expression.

Lex is a computer program that generates lexical analyzers. Lex is commonly used with the yacc parser generator. Lex reads an input stream specifying the lexical analyzer and outputs source code implementing the LEX in the C programming language.

Lex is commonly used with the yacc parser generator. Lex is the standard lexical analyzer generator on many UNIX systems, and an equivalent tool is specified as part of the POSIX standard.



906550_917388_ans_b3c411e4f9d242f89ca450d0a69b795e.PNG

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Database Structuring
ACCOUNTANCY
Watch in App
Join BYJU'S Learning Program
CrossIcon