Andy Balaam's Blog
  • About Andy Balaam
  • All articles
Mini-rust in Rust 042: An unexpected token means stop this expression

We're on our way towards type-checking variables, but first we take another detour into parsing expressions: if we hit an unexpected token, we should … ...more

August 15, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 041: While conditions that are not operations

We are starting down a road towards type checking variables, but we go on a detour to make sure we can parse the simplest possible condition in a whil… ...more

August 08, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 040: While conditions should be bool

Working up towards some difficult type-checking, we do some easy type-checking: the condition part of a while condition should be a boolean, and to ge… ...more

August 01, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 039: Spans should be ranges

We've been tracking the location of a token in the file using a pair of numbers, but Rust has a better way: a Range. After some debate and wandering, … ...more

July 25, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 038: Avoiding a String allocation for each token

Last time I described what I tried to do with removing the extra String stored in each Token. This time, having figured out a workaround, we go ahead … ...more

July 18, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
1 2 345678 ... 119 120
Recent
Talking to localhost from inside an Android emulator
Rust: compiling to WASM to make a browser-based game using canvas
Billion row challenge: parsing temperatures fast(ish)
Rust: building arbitrary precision integers (badly)
Rust: how to return a closure from a function, and what are closures anyway?
FizzBuzz 2: FizzBuzz Harder
Why I don't use AI
Converting a string to an int in Rust (for no reason)
Why I don't use AI (expanded)
Resizing and moving an encrypted LVM volume
Implementing FizzBuzz in Rust (for no reason)
Reversing a string in Rust (for no reason)
Mini-rust in Rust 050: Parsing function definitions
Why do I have 2 passwords? How to talk about encryption in Matrix
Invisible Crypto: can Matrix be both secure and easy to use?
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