You could have invented Parser Combinators