4 ms·
The advantage of parser combinators is that you can use them with a lot of different things. Parsing some UDP protocol, no problem, 20 lines of codes. Parsing s
by mruts 8y ago
The advantage of parser combinators is that you can use them with a lot of different things. Parsing some UDP protocol, no problem, 20 lines of codes. Parsing some bespoke binary format, no problem. I agree that maybe if your problem space is just compilers that maybe you should consider something else, but most parsing is not about code and more about data. In these cases, parser combinators are a no-brainer.