O'Reilly logo

Mastering Rust by Vesa Kaihlavirta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exercises

  1. combine is a parser framework that is similar to Chomp. Translate the Chomp examples to combine.
  2. Pest is a PEG parser generator. Implement the ISO 8601 date standard (or parts of it) using Pest.
  3. Take a look at one of the Serde Serializer/Deserializer implementations, for instance, serde_json. How would you implement a new Serializer for a new data format?

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required