-
I'm just diving into the world of parsers and am wondering where I should spend my time learning, chumsky or nom? I'm working on a Common Expression Language interpreter and would like to try implementing it in something like this instead. What are the reasons I'd go with this vs nom? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
nom
is designed more for binary and other machine-readable formats. If you want to parse a file format,nom
is a good choice. However, it's not designed for human-readable formats and includes very slim pickings when it comes to error messages and error recovery. If you're looking to write a parser for a human-readable language, like a programming language, chumsky might fit the bill better, since it's capable of generating rich and useful error messages for users.