pine-parser 0.1.0

Parser for Pine Script.
Documentation
[
  {
    "FunctionDecl": {
      "name": "add",
      "params": [
        {
          "type_qualifier": "Const",
          "type_annotation": "int",
          "name": "x"
        },
        {
          "type_qualifier": "Const",
          "type_annotation": "int",
          "name": "y"
        }
      ],
      "body": [
        {
          "Expression": {
            "Binary": {
              "left": {
                "Variable": "x"
              },
              "op": "Add",
              "right": {
                "Variable": "y"
              }
            }
          }
        }
      ],
      "export": true
    }
  }
]