Cooking parsers with winnow

I'm going to share how I started with parser and how I use a special language to collect recipes and share them with friends and family. I built a language designed specifically to write recipes, which is open source: https://github.com/reciperium/recipe-lang

This talk is good for beginners to advanced rust developers who would like to get familiar with parsers.

Hopefully, there will be some live coding.

At the end of the talk, the attendees should be able to write a small parser using winnow, which is very similar to nom.

LEVEL: Introductory and Overview

Place
RustLab Deep Ocean
Length
40 min
When
November 11th, 2024
10:00

Abstract

I'm going to share how I started with parser and how I use a special language to collect recipes and share them with friends and family. I built a language designed specifically to write recipes, which is open source: https://github.com/reciperium/recipe-lang

This talk is good for beginners to advanced rust developers who would like to get familiar with parsers.

Hopefully, there will be some live coding.

At the end of the talk, the attendees should be able to write a small parser using winnow, which is very similar to nom.

Table of content

- What was I needing?
- What's the problem with recipes?
- Challenges faced
- Why building a parser?
- Choosing a parser
- Grammars & Parsers
- What's in the rust market?
- Complexity
- Parsing with winnow
- structure
- basics
- combinators

Slides

Video

RustLab is a conference made by Develer.
Develer is a company based in Campi Bisenzio, near Florence. Our motto is : "Technology to give life to your products". We produce hardware and software to create exceptional products and to improve industrial processes and people's well being.
In Develer we have passion for the new technologies and we offer our clients effective solutions that are also efficient, simple and safe for the end users. We also believe in a friendly and welcoming environment where anybody can give their contribution. This passion and this vision are what we've been driven to organize our conference "made by developers for developers".

Subscribe to our newsletter

We hate spam just as much as you do, which is why we promise to only send you relevant communications. We respect your privacy and will never share your information with third parties.
©2024 RustLab | The international conference on Rust in Florence-Design & devCantiere Creativo-Made withDatoCMS