Replaced the homemade lexer with Python built-in parser.