Ported the lexer. Now to test if it actually works.