Andy Balaam's Blog
  • About Andy Balaam
  • All articles
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
Message order in Matrix: right now, we are deliberately inconsistent

After lots of conversations with Element colleagues about message order in Matrix, and lots of surprises for me, I wanted to write down what I had lea… ...more

December 04, 2024 [Matrix, Tech]
Mini-rust in Rust 005: Making our lexer an iterator

Our lex function returns an iterator, but in the implementation we were faking it. Let's do it properly. You can find the source code at codeberg.org… ...more

November 29, 2024 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 004: Refactoring our lexer

Refactoring our lexer, so all the awful things we did to make the tests pass are behind us. You can find the source code at codeberg.org/andybalaam/m… ...more

November 22, 2024 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 003: Much prettier errors

More of the very basic structure of our interpreter: making the error messages from the lexer point at the exact line of code, in a pretty way. You c… ...more

November 15, 2024 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
1 2 345678 ... 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