3 ms·
Well, yes, you wouldn't want to base a whole parser around this feature of the language. He was just saying that it gives read and show enough power to act like
by chc 15y ago
Well, yes, you wouldn't want to base a whole parser around this feature of the language. He was just saying that it gives read and show enough power to act like a simple parser. For full-fledged parsers in Haskell, you'd generally want to use Parsec, which is much more complicated and appears at first to be built entirely out of funny-looking combinatorial operators.
- pjscott 15y agoThere also seems to be a fair amount of momentum around attoparsec, which has fewer features than Parsec but is very fast and works on bytestrings. Either is good; parsing is one area where Haskell really excels.