Re:Compiler Development: Rust or OCaml?
by itishappy on Monday August 07, 2023 @07:08PM
(#37042184)
I like Rust but this isn't one of it's strong suits. The code in the article is what Rustfmt outputs (playground link below), so it's at least syntactically idiomatic.
https://play.rust-lang.org/?version=stable&mode=debug&editio...