Andy Balaam's Blog
  • About Andy Balaam
  • All articles
Mini-rust in Rust 025: Parsing let mut

Continuing trying to get the simplest bit of real code we could think of to work, we need to finish off less-than-or-equals, and also make let mut wor… ...more

April 18, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 024: Lexing the <= sign

Now we're going to try and get a little code snippet that calculates factorials to work. First up: lexing the <= sign! You can find the source cod… ...more

April 11, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
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
12345 ... 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