A parser is a function that takes a parser state (ie string + position in string) and turns it into a parser result