An implementation of Lexical Analyser using lex as a mini-project for Compiler Design.