2 ms·
No problem! > I think Nom might be more useful as the format gets more complicated... the combinators can really save you quite a bit of time. Having things li
by loeg 5y ago
No problem!
> I think Nom might be more useful as the format gets more complicated... the combinators can really save you quite a bit of time. Having things like many0, or delimited_pair, or length_count already tested and documented saves time compared to implementing + testing it yourself.
Totally agree -- bitvec works for things that are easy to hand write a parser for. Nom is a lot more powerful.