← Back to Speaking

An intro to nom, parsing made easy for Rustaceans

Calendar Icon 6 March, 2024
Rust Dublin 🌍 Remote

Abstract

In this talk we will give you a pragmatic introduction to nom , a famous Rust parser combinator crate, which, in other words, is a tool that makes it easy to create parsers even for more advanced use cases.

We will start by showcasing common suboptimal ways to do parsing including string splitting and using regexes. Then we will introduce nom and the main concepts it builds on, including its most commonly used functions. Finally, we will present several examples, from a few simple ones to building an entire parser for RESP, the Redis Serialization Protocol. If we do a good job, you’ll probably think twice before using a regex again!

Slides

Event Details

Date
6 March, 2024
Event
Rust Dublin
Type
Talk
Language
English 🇬🇧