It feels like a stretch to call this a parser. It’s looks like a typical lexer?