A parser for parsing a string into parameters object