Andy Balaam's Blog
  • About Andy Balaam
  • All articles
Mini-rust in Rust 028: Lexing plus-equals

Adding another two-character operator to our lexer, which is surprisingly more complicated than I expected. You can find the source code at codeberg.… ...more

May 09, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Standing again for the Matrix Governing Board

I am standing for re-election to the Matrix Governing Board (see the election announcement). The Governing Board advises and oversees the work of the … ...more

May 07, 2025 [Matrix]
Testing nonexistence

Testing that something is not there can be unreliable Today I am writing a test that something does not happen, like this: Given that the A setting is… ...more

May 06, 2025 [Programming, Test Driven, Tech]
Mini-rust in Rust 027: Parsing blocks of code

We can already parse empty while loops, but now we figure out how to parse the block of code that forms the body of the loop. It should be useful for … ...more

May 02, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 026: Parsing an empty while loop

The little real-world snippet we are trying to get working includes a while loop - let's try to get it to parse. For now, only if the actual loop body… ...more

April 25, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
12345 ... 113 114
Recent
Mini-rust in Rust 038: Avoiding a String allocation for each token
Mini-rust in Rust 037: Complex expressions in mutation statements
Mini-rust in Rust 036: Evaluating code blocks
Mini-rust in Rust 035: Tidying up the evaluator
Mini-rust in Rust 034: Our first program, actually working
Mini-rust in Rust 033: Evaluating operators like plusequals and timesequals
Mini-rust in Rust 032: Supporting a Unit type and type checking mutations
Mini-rust in Rust 031: Getting "while" through the type checker
Mini-rust in Rust 030: Expressions after while loops
Mini-rust in Rust 029: Parsing plus-equals
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
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