13
submitted 2 years ago by tomtau@aussie.zone to c/rust@lemmy.ml
top 2 comments
sorted by: hot top new old
[-] ignotum@lemmy.world 2 points 2 years ago

Awesome! I've been tinkering with a project where i needed semi-advanced text parsing, and my homebrew solution is a barely functional mess, this looks perfect!

[-] ssokolow@lemmy.ml 4 points 2 years ago

Depending on your preferences, there's also Nom if you prefer parser combinators, or lalrpop or grmtools if you prefer LR(1) parsing.

Since reading Which Parsing Approach by Laurence Tratt (author of grmtools), my plan for my own parsing projects has been to use an LR(1) parser generator for the stronger compile-time guarantees.

this post was submitted on 14 May 2024
13 points (100.0% liked)

Rust Programming

9435 readers
1 users here now

founded 7 years ago
MODERATORS