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