Skip to content

Latest commit

 

History

History
14 lines (14 loc) · 556 Bytes

README.md

File metadata and controls

14 lines (14 loc) · 556 Bytes

#lexical analysers Compiler Construction - Assignment I

  1. Write a LEX specification files to: i). Count the number of words in a file and their total size ii). Counts the number of different words in an input iii). Accepts the English language words (without bothering for the meaning) and replaces each occurrence of the string “abc” in it to “ABC”.
  2. The following is a listing of a set of verbs: is am are were was be being been do does did will would should can could has have had go Write a simple LEX specification to recognize these verbs