Question: Before you actually start constructing your compiler, you need to intensely explore Lex tool which will be mainly used in lexical analysis phase. This programming

Before you actually start constructing your compiler, you need to intensely explore Lex tool which will be mainly used in lexical analysis phase. This programming assignment is for using Lex tool to scan and analyze an input text file. Use Lex tool to scan and analyze the content of a text file. The output should show the following:

1.The longest word in the file.

2.Print all integer and double numbers that are in [50,70]. Print an appropriate message if there is no number in [50,70]

3.All words that start with vowel. Print an appropriate message if there is no word start with a vowel.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!