
12 Jan
2010
12 Jan
'10
5:31 a.m.
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,
In addition, the polyparse library provides "online", or lazy, parsing. Its interface is somewhat similar to parsec, perhaps even simpler. (Actually, you can freely mix lazy and strict parsing - laziness is provided by applicative combinators, strictness by monadic combinators.) I have not yet looked into whether it would be possible to link polyparse to iteratees. Regards, Malcolm