We're on our way towards type-checking variables, but first we take another detour into parsing expressions: if we hit an unexpected token, we should … ...more
We are starting down a road towards type checking variables, but we go on a detour to make sure we can parse the simplest possible condition in a whil… ...more
Working up towards some difficult type-checking, we do some easy type-checking: the condition part of a while condition should be a boolean, and to ge… ...more
We've been tracking the location of a token in the file using a pair of numbers, but Rust has a better way: a Range. After some debate and wandering, … ...more
Last time I described what I tried to do with removing the extra String stored in each Token. This time, having figured out a workaround, we go ahead … ...more