Simplify parser

Got rid of the stupid faux-fold. Probably should avoid foldl here though.