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