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