[Haskell-cafe] Alternative instance for non-backtracking parsers
Bryan Richter
b at chreekat.net
Fri Aug 31 12:50:53 UTC 2018
On 08/30/2018 03:43 PM, Bardur Arantsson wrote:
> On 30/08/2018 20.21, Olaf Klinke wrote:
>
>>> Hello, Olaf. I have some distrust of elegant solutions (one of
>>> them are C.P. libs).
>>
>> [*] To the parser experts on this list: How much time should
>> a parser take that processes a 50MB, 130000-line text file,
>> extracting 5 values (String, UTCTime, Int, Double) from each line?
>
> Not an expert, but for something as (relatively!) standard
> as CSV, I'd probably go for a specialized solution like
> 'cassava', which seems like it does quite well according to
> https://github.com/haskell-perf/csv
Playing the devil's advocate here....
If parser combinators aren't great for "relatively standard" things
such as CSV, then what *are* they good for?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180831/5392cddf/attachment.sig>
More information about the Haskell-Cafe
mailing list