Did you know the fediverse gets my Rust videos earlier than youtube?
Today in writing a mini-Rust in Rust, let's stop taking a shortcut and actually implement our lexer as an iterator:
https://video.infosec.exchange/w/ionrCpsAgYJTUHgcaaVFFR
Mini-rust in Rust 005: Our lexer should be an iterator
Our lex function returns an iterator, but in the implementation we were faking it. Let's do it properly. You can find the source code at codeberg.org/andybalaam/milk and more of my stuff at artific...Infosec.Exchange Video