Mini-rust in Rust 015: Parsing a typed assignment

February 07, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust

We want to have a go at some type-checking, so the first step is to write some code that causes a type error. We are going for let x: i32 = 3.0;. To do that, we need to be able to lex and parse the : i32 part...

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