Mini-rust in Rust 005: Making our lexer an iterator
November 29, 2024 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
mini-rust (7 part Series)
Mini-rust in Rust 001: Lexing an int
Mini-rust in Rust 002: Errors while lexing
Mini-rust in Rust 003: Much prettier errors
Mini-rust in Rust 004: Refactoring our lexer
Mini-rust in Rust 005: Making our lexer an iterator
Mini-rust in Rust 006: Parsing an operation
Mini-rust in Rust 007: Evaluating an operation
Mini-rust in Rust 001: Lexing an int
Mini-rust in Rust 002: Errors while lexing
Mini-rust in Rust 003: Much prettier errors
Mini-rust in Rust 004: Refactoring our lexer
Mini-rust in Rust 005: Making our lexer an iterator
Mini-rust in Rust 006: Parsing an operation
Mini-rust in Rust 007: Evaluating an operation
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 artificialworlds.net