Code from Phil Trelford's FParsec Tutorial at Skills Matter 2014-08-28