First implementation of quote-parsing.