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
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
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
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
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