A parser for the USPTO's Green Book format, written in haskell