Choosing a Haskell parser

前端 未结 4 399
一生所求
一生所求 2021-01-30 07:25

There are many open sourced parser implementations available to us in Haskell. Parsec seems to be the standard for text parsing and attoparsec seems to be a popular choice for b

4条回答
  •  悲哀的现实
    2021-01-30 07:51

    I recently converted some code from Parsec to Attoparsec. Both are quite capable.

    Attoparsec wins on performance and memory footprint, but Parsec provides better error reporting and has more complete documentation.

提交回复
热议问题