Using Haskell's Parsec to parse binary files?

Posted by me2 on Stack Overflow See other posts from Stack Overflow or by me2
Published on 2010-03-11T09:41:31Z Indexed on 2010/03/11 18:24 UTC
Read the original article Hit count: 588

Filed under:
|

Parsec is designed to parse textual information, but it occurs to me that Parsec could also be suitable to do binary file format parsing for complex formats that involve conditional segments, out-of-order segments, etc.

Is there an ability to do this or a similar, alternative package that does this? If not, what is the best way in Haskell to parse binary file formats?

© Stack Overflow or respective owner

Related posts about haskell

Related posts about binary