Generalize over any CharParsing.

Signed-off-by: Ricky Elrod <ricky@elrod.me>