{
  "type": "apply",
  "operator": {
    "type": "word",
    "offset": 0,
    "lineBreaks": 0,
    "line": 1,
    "col": 1,
    "name": "do"
  },
  "args": [
    {
      "type": "apply",
      "operator": {
        "type": "word",
        "offset": 6,
        "lineBreaks": 0,
        "line": 2,
        "col": 3,
        "name": "define"
      },
      "args": [
        {
          "type": "word",
          "offset": 13,
          "lineBreaks": 0,
          "line": 2,
          "col": 10,
          "name": "x"
        },
        {
          "type": "value",
          "value": 4,
          "raw": "4"
        }
      ]
    },
    {
      "type": "apply",
      "operator": {
        "type": "word",
        "offset": 22,
        "lineBreaks": 0,
        "line": 3,
        "col": 3,
        "name": "define"
      },
      "args": [
        {
          "type": "word",
          "offset": 29,
          "lineBreaks": 0,
          "line": 3,
          "col": 10,
          "name": "setx"
        },
        {
          "type": "apply",
          "operator": {
            "type": "word",
            "offset": 35,
            "lineBreaks": 0,
            "line": 3,
            "col": 16,
            "name": "fun"
          },
          "args": [
            {
              "type": "word",
              "offset": 39,
              "lineBreaks": 0,
              "line": 3,
              "col": 20,
              "name": "val"
            },
            {
              "type": "apply",
              "operator": {
                "type": "word",
                "offset": 51,
                "lineBreaks": 0,
                "line": 4,
                "col": 7,
                "name": "set"
              },
              "args": [
                {
                  "type": "word",
                  "offset": 55,
                  "lineBreaks": 0,
                  "line": 4,
                  "col": 11,
                  "name": "x"
                },
                {
                  "type": "word",
                  "offset": 58,
                  "lineBreaks": 0,
                  "line": 4,
                  "col": 14,
                  "name": "val"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "type": "apply",
      "operator": {
        "type": "word",
        "offset": 76,
        "lineBreaks": 0,
        "line": 7,
        "col": 3,
        "name": "setx"
      },
      "args": [
        {
          "type": "value",
          "value": 50,
          "raw": "50"
        }
      ]
    },
    {
      "type": "apply",
      "operator": {
        "type": "word",
        "offset": 88,
        "lineBreaks": 0,
        "line": 8,
        "col": 3,
        "name": "print"
      },
      "args": [
        {
          "type": "word",
          "offset": 94,
          "lineBreaks": 0,
          "line": 8,
          "col": 9,
          "name": "x"
        }
      ]
    }
  ]
}