BCSE307P - COMPILER DESIGN LAB
Date: 29.05.2025
ASSESSMENT - 2
List of exercises need to be submitted
1. Write a LEX Code to count number of words in a file that have greater than
5 and less than 10 characters in it.
2. Write a LEX code to count total number of tokens in a given C File.
Format of the document to be submitted
Student Name, Register Number, Lab slot, Date
Program 1 & 2 – Coding (text), Input & Output (text), Output (Screenshot)