Chumsky is very nice although I mostly use lalrpop because it is (to me at least) a bit simpler– refactoring grammars to avoid left recursion is a bit painful but not impossible and it has the...
Chumsky is very nice although I mostly use lalrpop because it is (to me at least) a bit simpler– refactoring grammars to avoid left recursion is a bit painful but not impossible and it has the added bonus of producing a formal grammar for the language in the process.
These days I reach for chumsky pretty much any time I need to write a DSL parser. I thought it would be an interesting exercise to take a DSL parser that I've written using chumsky and reimplement...
These days I reach for chumsky pretty much any time I need to write a DSL parser.
I thought it would be an interesting exercise to take a DSL parser that I've written using chumsky and reimplement it the "old fashioned" way.
Chumsky is very nice although I mostly use lalrpop because it is (to me at least) a bit simpler– refactoring grammars to avoid left recursion is a bit painful but not impossible and it has the added bonus of producing a formal grammar for the language in the process.
These days I reach for
chumsky
pretty much any time I need to write a DSL parser.I thought it would be an interesting exercise to take a DSL parser that I've written using
chumsky
and reimplement it the "old fashioned" way.