I have been using the Pest parser generator library for Rust recently in a couple of projects, and I want to talk a bit about a couple of things that weren’t too obvious for me. Pest has really good documentation in my opinion, so I won’t give you a basic tutorial. But, in the interest of making this post understandable even if you don’t know much about it, here’s an example grammar written with Pest: