Imported a half-assed lexer.