Propositional Logic Parser

P¬PQ¬∧∨PQ→↔
{
  "op": "↔",
  "args": [
    {
      "op": "∨",
      "args": [
        {
          "op": "¬",
          "args": [
            "P"
          ]
        },
        {
          "op": "∧",
          "args": [
            "P",
            {
              "op": "¬",
              "args": [
                "Q"
              ]
            }
          ]
        }
      ]
    },
    {
      "op": "→",
      "args": [
        "P",
        "Q"
      ]
    }
  ]
}
PQ Output
00 1
01 0
10 1
11 0