pgf2json 0.1.1

This crate is an Application Programming Interface to load and interpret grammars compiled in Portable Grammar Format (PGF). The PGF format is produced as a final output from the GF compiler. The API is meant to be used for embedding GF grammars in Rust programs.
Documentation
{
  "abstract": {
    "funs": {
      "C": {
        "args": [
          "L",
          "S"
        ],
        "arity": 0,
        "cat": "S",
        "is_constructor": false,
        "prob": 0.5
      },
      "E": {
        "args": [],
        "arity": 0,
        "cat": "S",
        "is_constructor": false,
        "prob": 0.5
      },
      "a": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "b": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "c": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "d": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "e": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "f": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "g": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "h": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "i": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "j": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "k": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "l": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "m": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "n": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "o": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "p": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "q": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "r": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "s": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "t": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "u": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "v": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "w": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "x": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "y": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      },
      "z": {
        "args": [],
        "arity": 0,
        "cat": "L",
        "is_constructor": false,
        "prob": 0.038461538461538464
      }
    },
    "name": "q",
    "startcat": "L"
  },
  "concretes": {}
}