Reference implementation of a structmsg parser in Haskell.