Finally, we are going to execute a real piece of code that actually looks like a programming language! We are setting a variable to a value, and then … ...more
We have been putting up with a weird problem with our lexer: up to now it requires white space between each token. But, last time we created a backtra… ...more
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