We've built a toy parser, but it's not going to last us. We need to make it a bit more proper. Specifically, we need to be able to look ahead, and the… ...more
Last time we lexed an assignment statement. This time: parsing it, so we're ready to execute it! You can find the source code at codeberg.org/andybal… ...more
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
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
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