Mini-rust in Rust 023: Refactor to share structure of the syntax tree

April 04, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust

We are repeating ourselves with the SyntaxTree and TypedSyntaxTree enums. I thought the solution would be too complex, but on reflection it's fine, so let's share that code.

You can find the source code at codeberg.org/andybalaam/milk and more of my stuff at artificialworlds.net