by cmrdporcupine · 3y ago · 0 comments
That and Rust's iterators are terrible at introducing ownership agony.
In any case, I've ... done it (https://github.com/rdaum/moor/blob/main/crates/compiler/src/...) but can't say I liked it.
I do really like "pest" as a parser generator though. In general, yes, the Rust ecosystem is bigger/richer, and growing.
And yet... The Rust ecosystem win. Easily. For a simple reason.
Salsa. Oh and also clap. Lsp bindings. Ungrammar. Miette. Clap. Parsers. Etc
At every level the Rust packages are far better and allow to drastically reduce the cost of building this stuff.
They are nowhere as easy. At the very least because their documentation is usually non existent or non comprehensible.