24 days of Rust – nom, part 2

We learned the basic concepts of nom
yesterday
when we wrote a parser for HTTP headers. HTTP is by its nature a text protocol.
nom however always works on bytes (byte array slices, denoted in Rust with
&[u8]). This makes it perfectly suitable for pars…

Similar

An overview of macros in Rust

Rust has had a lot of stuff going on with “macros”. There are a few, interconnected aspects of these features, many different names for the same thing, and a lot of development work going on. This post will give an overview of the past, present,... | ...

Read more »