pylangparser: add support for pretty printing