[Haskell-cafe] Parsers (Parsec and Iteratee-based Parsers)

S. Doaitse Swierstra doaitse at swierstra.net
Tue Jan 19 18:26:18 EST 2010


On 12 jan 2010, at 00:09, Günther Schmidt wrote:

> Hi John,
>
> thanks for responding. As I said I've been using Parsec quite a lot,  
> but wonder if there is a different approach possible/feasible to  
> parsing. Parsec (2x) isn't an "online" parser, ie, it doesn't  
> produce a result before the whole parse is completed.
>
> There is AFAIK one alternative, the uulib, but at first glance it  
> seemed very elaborate, so I wonder if Oleg's Iteratee offers  
> something simpler.

There is the new uu-parsinglib package, which is simpler and  
documented (and being worked upon).

  Doaitse

>
> I am not in particular looking for some sort of parsec-iteratee- 
> hybrid, I'd be quite happy with something entirely based on  
> Iteratee. In the Iteratee package there are 2 sample parsers, one  
> for TIFF and one for WAVE files. I wish I could say that the  
> accompanying documentation is sufficient for me to get the idea,  
> alas it's not.
>
> Günther
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe



More information about the Haskell-Cafe mailing list