simple version lexer