Designed basic lexer