mathlex 0.4.1

Mathematical expression parser for LaTeX and plain text notation, producing a language-agnostic AST
Documentation
{
  "kind": "Exists",
  "value": {
    "body": {
      "kind": "Equation",
      "value": {
        "left": {
          "kind": "Binary",
          "value": {
            "left": {
              "kind": "Variable",
              "value": "x"
            },
            "op": {
              "kind": "Mul"
            },
            "right": {
              "kind": "Variable",
              "value": "x"
            }
          }
        },
        "right": {
          "kind": "Integer",
          "value": 2
        }
      }
    },
    "domain": {
      "kind": "NumberSetExpr",
      "value": {
        "kind": "Real"
      }
    },
    "unique": false,
    "variable": "x"
  }
}