Learning how to write my own lexer, while writing a VT100 emulator! 🤓