Andy Balaam's Blog
  • About Andy Balaam
  • All articles
Mini-rust in Rust 023: Refactor to share structure of the syntax tree

We are repeating ourselves with the SyntaxTree and TypedSyntaxTree enums. I thought the solution would be too complex, but on reflection it's fine, so… ...more

April 04, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Rust tracing basic setup

I spent ages yesterday trying to figure out how to use Rust's tracing library (and tracing-subscriber) for a very simple logging use-case. I wanted to… ...more

March 29, 2025 [Programming, Programming Languages, Rust, Tech]
Mini-rust in Rust 022: Stop lying about types in errors

Now that we have the types we calculated in our syntax tree, use them to stop faking it in error messages - replace a hard-coded "integer" with the ac… ...more

March 28, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 021: Including type information in our syntax tree

We realised last time that our type checker needs to move on from just saying "yes" or "no" for whether our program is OK: we need to keep hold of the… ...more

March 21, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 020: Gaps in our type checker

The type checker is passing our unit tests, but it's stopping our language from actually working. Time to fill in the gaps. You can find the source c… ...more

March 14, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
1 2 ...7891011 ... 117 118
Recent
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?
Mini-rust in Rust 049: Lexing an empty function
Mini-rust in Rust 048: Handling variable scope
Mini-rust in Rust 047: Updating types as we get more information
Jez and Andy write a Parser
Jez learns Rust by writing a Lexer
Mini-rust in Rust 046: Type-checking mutations
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