Allow setting the string parser's source