3 ms·
The nom crate has an RGB parser example: https://docs.rs/nom/latest/nom/#example https://docs.rs/nom/latest/nom/#example It’s slightly longer, but more legible
by orf 2y ago
The nom crate has an RGB parser example: https://docs.rs/nom/latest/nom/#example https://docs.rs/nom/latest/nom/#example
It’s slightly longer, but more legible.
- codebje 2y agoYeah, that one appeals to me more than the morrow example. The difference between that and the Haskell, other than any particular choices I made about use of operators instead of more explicit bindings, is really just syntactic decoration around functions and such.