def output(s):
p = Parser()<EOL>t = ExpressionsTransformer()<EOL>ast = p.parse(s)<EOL>logging.debug(ast.pretty())<EOL>print(ast.pretty())<EOL>d = t.transform(ast)<EOL>print(json.dumps(d, indent=<NUM_LIT:4>))<EOL>return d<EOL>
Parse, transform, and pretty print
the result