Renamed the python lexer to be a generator of the lexer