Andy Balaam's Blog
  • About Andy Balaam
  • All articles
Mini-rust in Rust 016: Tidying our parser

We left our parser in an awful mess after the last video, so we're going to tidy it up a bit and make it easier to understand. You can find the sourc… ...more

February 14, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 015: Parsing a typed assignment

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 d… ...more

February 07, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 014: Evaluating an assignment

Finally, we are going to execute a real piece of code that actually looks like a programming language! We are setting a variable to a value, and then … ...more

January 31, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 013: Fixing a bug in our lexer

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 backtra… ...more

January 24, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 012: Parsing with backtracking

We've built a toy parser, but it's not going to last us. We need to make it a bit more proper. Specifically, we need to be able to look ahead, and the… ...more

January 17, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
123456 ... 111 112
Recent
Mini-rust in Rust 028: Lexing plus-equals
Standing again for the Matrix Governing Board
Testing nonexistence
Mini-rust in Rust 027: Parsing blocks of code
Mini-rust in Rust 026: Parsing an empty while loop
Mini-rust in Rust 025: Parsing let mut
Mini-rust in Rust 024: Lexing the <= sign
Mini-rust in Rust 023: Refactor to share structure of the syntax tree
Rust tracing basic setup
Mini-rust in Rust 022: Stop lying about types in errors
Mini-rust in Rust 021: Including type information in our syntax tree
Mini-rust in Rust 020: Gaps in our type checker
Mini-rust in Rust 019: Type checking an actual type error
Mini-rust in Rust 018: Type checking, the happy path
Mini-rust in Rust 017: Handling float literals
Andy's home page Categories Sitemap RSS Feed

© 2005 onwards Andy Balaam. CC BY-SA except where otherwise stated (source code). Powered by Zola & Abridge