Rust already has Nom for parser combinators, though. This library looks fine (at first glance) for a parser library, but it doesn't seem like it helps with building languages beyond just parsing (which is what I expected from the title).
The main points of focus for chumsky, beyond nom, are:
- Ease of use + ergonomics
- Backtracking 'by default'
- High quality errors and error recovery
Nom is very specifically designed for parsing input not intended to be read by humans, and that focus is evident in the things is prioritises.
Re:Chumsky: A Tutorial
by charcircuit on Tuesday April 12, 2022 @06:56PM
(#31009231)
LLVM
This is supposed to be a fun article for experimentation in programming languages, not a new advancement in a garbage collection algorithm for increasing the efficiency of a datacenter by 2%.
My favourite new programming language is Svelte for example (just a parser that emits javascript), it's just a little different from HTML/CSS/JS, but just enough to make web development fun again for me.