lexer: Implement lexing of delimiters.