News for hackers. Stuff that matters.
Re:24 days of Rust – serde by ungzd on Thursday December 08, 2016 @02:39PM (#13133445)
There's also nom (https://github.com/Geal/nom) which is similar to Parsec and more designed for parsing text formats but used for binary formats too.
Re:24 days of Rust – serde by steveklabnik on Thursday December 08, 2016 @02:44PM (#13133519)
Serde is short for "serialize/deserialize", nom is about parsing. Similar, but slightly different things.
Re:24 days of Rust – serde by erickt on Thursday December 08, 2016 @02:57PM (#13133680)
Serde creator here. Steve's right, serde is fundamentally a generic protocol that implements serialization. I didn't use nom for serde_json (because it didn't exist at the time) but it's definitely possible to use nom and other parser generators to implement the serde protocol.
Re:24 days of Rust – serde by zsiciarz on Thursday December 08, 2016 @02:43PM (#13133505)
It's coming to 24 days of Rust as well :-)