Highly-pythonic version of PETOOH interpreter