parser icon indicating copy to clipboard operation
parser copied to clipboard

Added parser alternatives for some regex to examples

Open Anton-4 opened this issue 5 years ago • 2 comments

Closes #47

Anton-4 avatar Jul 01 '20 14:07 Anton-4

Thank you for those examples! I had been wondering how to use this thing. Turns out this makes me question that recommendation of a parser over regex even more. A lot of those trivial, easy to read patterns that are universally understood across numerous languages turn into massive blocks of code that require intricate knowledge of one particular parser module. I'm definitely not a fan.

philer avatar Jul 06 '20 18:07 philer

You're welcome! I feel your pain :slightly_smiling_face: , it took me some thought to figure out how to make the parsers. Although I totally understand evan's arguments. Complex regexes really become a mess and may be quite daunting to beginning programmers.

Anton-4 avatar Jul 07 '20 08:07 Anton-4