mathlex 0.4.1

Mathematical expression parser for LaTeX and plain text notation, producing a language-agnostic AST
Documentation
{
  "kind": "Sum",
  "value": {
    "body": {
      "kind": "Binary",
      "value": {
        "left": {
          "kind": "Variable",
          "value": "i"
        },
        "op": {
          "kind": "Pow"
        },
        "right": {
          "kind": "Integer",
          "value": 2
        }
      }
    },
    "index": "i",
    "lower": {
      "kind": "Integer",
      "value": 1
    },
    "upper": {
      "kind": "Variable",
      "value": "n"
    }
  }
}