Use parsec to parse history lines