mathlex 0.4.1

Mathematical expression parser for LaTeX and plain text notation, producing a language-agnostic AST
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  "kind": "Binary",
  "value": {
    "left": {
      "kind": "Integer",
      "value": 1
    },
    "op": {
      "kind": "Add"
    },
    "right": {
      "kind": "Integer",
      "value": 2
    }
  }
}