Lexical analysis program for pascal-like languages