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": {
      "Pred": {
        "args": [],
        "arity": 0,
        "cat": "Comment",
        "is_constructor": true,
        "prob": 1.0
      },
      "This": {
        "args": [],
        "arity": 0,
        "cat": "Item",
        "is_constructor": true,
        "prob": 1.0
      }
    },
    "name": "Food",
    "startcat": "Comment"
  },
  "concretes": {
    "FoodEng": {
      "categories": {
        "Comment": {
          "end": 1,
          "labels": [
            "C1"
          ],
          "start": 0
        },
        "Item": {
          "end": 2,
          "labels": [
            "I1"
          ],
          "start": 1
        }
      },
      "ccats": [],
      "flags": {},
      "functions": [
        {
          "lins": [
            0
          ],
          "name": "Pred"
        },
        {
          "lins": [
            1
          ],
          "name": "This"
        }
      ],
      "lindefs": [],
      "linrefs": [],
      "printnames": [],
      "productions": {},
      "sequences": [
        [
          {
            "args": [
              "is"
            ],
            "type": "SymKS"
          }
        ],
        [
          {
            "args": [
              "this"
            ],
            "type": "SymKS"
          }
        ]
      ],
      "totalfids": 2
    }
  }
}