Today’s exercise was a Substitution Cipher. My code is kind of an ugly mess of modulus operations but it works. Although I did accidently define a constant twice and leave an unnecessary copy around. Some of the community solutions were nicer than mine.

For the interpreter, I added tokens to the lexer for IF and FOR. I managed to get something for IF working. Not sure if I can nest or not, but it should support if then, elseif, and else clauses with multiple lines per clause.