A Python Pratt Parser implementation