Mini-rust in Rust 042: An unexpected token means stop this expression

We&#x27;re on our way towards type-checking variables, but first we take another detour into parsing expressions: if we hit an unexpected token, we should backtrack and return what we found so far, not just stop with an error. You can find the source code at codeberg.org&#x2F;andybalaam&#x2F;milk and more of my stuff at artificialworlds.net Comments jezhiggins 2025-11-28 That was a journey!