Mini-rust in Rust 013: Fixing a bug in our lexer

January 24, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust

We have been putting up with a weird problem with our lexer: up to now it requires white space between each token. But, last time we created a backtracking iterator that we can use to fix this problem, so let's go ahead and do it.

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