scan: Introduce string_lexer for simple tokenizing of a string.