added lexer to prepare text for parsers;