Skip to content

When to use this instead of nom? #406

Answered by zesterer
clarkmcc asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dave-doty
Comment options

@zesterer
Comment options

Answer selected by clarkmcc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants