a python parser, just for fun