Andy Balaam's Blog
  • About Andy Balaam
  • All articles
Mini-rust in Rust 010: Lexing an assignment

We're ready to lex a proper statement: specifically a "let" statement that will give a variable its value. You can find the source code at codeberg.o… ...more

January 03, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 009: Handling parsing errors

We promised ourselves we'd make sure error messages were good before it got too tricky to do it right, so now we have to bite the bullet and make our … ...more

December 27, 2024 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 008: Refactoring our parser

Our parser kinda works, but it needs some work to be less terrible. We've realised we did a few things in awkward or wrong ways, so let's fix them bef… ...more

December 20, 2024 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 007: Evaluating an operation

Now that we can parse things, let's evaluate them. By the end of this, we should be able to use our little language as a mini-calculator (only for add… ...more

December 13, 2024 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 006: Parsing an operation

We're finally ready to parse things! Our lexer can do almost enough to allow us to handle "3 + 5", so we'll make that ready, and then parse that expre… ...more

December 06, 2024 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
1 234567 ... 111 112
Recent
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
Mini-rust in Rust 016: Tidying our parser
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