← Back to context Comment by quinnjh 2 months ago For the non haskell folks like myself, what would that look like/ why is parsing better? Perl i get 1 comment quinnjh Reply reddit_clone 2 months ago Perl has powerful regular expressions, but it only goes so far. Doing multiline/nested structured parsing is too painful.Perl6/Raku has built in grammers that can do that idiomatically.If you have a couple minutes, give this a glance. It will give you an idea.https://andrewshitov.com/2018/10/31/a-simple-parser-in-perl-...I am no expert in haskell either. But parsec is similar in concept.
reddit_clone 2 months ago Perl has powerful regular expressions, but it only goes so far. Doing multiline/nested structured parsing is too painful.Perl6/Raku has built in grammers that can do that idiomatically.If you have a couple minutes, give this a glance. It will give you an idea.https://andrewshitov.com/2018/10/31/a-simple-parser-in-perl-...I am no expert in haskell either. But parsec is similar in concept.
Perl has powerful regular expressions, but it only goes so far. Doing multiline/nested structured parsing is too painful.
Perl6/Raku has built in grammers that can do that idiomatically.
If you have a couple minutes, give this a glance. It will give you an idea.
https://andrewshitov.com/2018/10/31/a-simple-parser-in-perl-...
I am no expert in haskell either. But parsec is similar in concept.