acdc-parser 0.8.0

`AsciiDoc` parser using PEG grammars
Documentation
{
  "name": "document",
  "type": "block",
  "blocks": [
    {
      "name": "dlist",
      "type": "block",
      "items": [
        {
          "term": [
            {
              "name": "text",
              "type": "string",
              "value": "CPU",
              "location": [
                {
                  "line": 1,
                  "col": 1
                },
                {
                  "line": 1,
                  "col": 3
                }
              ]
            }
          ],
          "delimiter": "::",
          "principal_text": [
            {
              "name": "text",
              "type": "string",
              "value": "The brain of the computer.",
              "location": [
                {
                  "line": 1,
                  "col": 7
                },
                {
                  "line": 1,
                  "col": 32
                }
              ]
            }
          ],
          "description": [
            {
              "name": "paragraph",
              "type": "block",
              "inlines": [
                {
                  "name": "text",
                  "type": "string",
                  "value": "This is a continuation paragraph about CPU.",
                  "location": [
                    {
                      "line": 3,
                      "col": 1
                    },
                    {
                      "line": 3,
                      "col": 43
                    }
                  ]
                }
              ],
              "location": [
                {
                  "line": 3,
                  "col": 1
                },
                {
                  "line": 3,
                  "col": 43
                }
              ]
            }
          ],
          "location": [
            {
              "line": 1,
              "col": 1
            },
            {
              "line": 3,
              "col": 43
            }
          ]
        },
        {
          "term": [
            {
              "name": "text",
              "type": "string",
              "value": "Memory",
              "location": [
                {
                  "line": 5,
                  "col": 1
                },
                {
                  "line": 5,
                  "col": 6
                }
              ]
            }
          ],
          "delimiter": "::",
          "principal_text": [
            {
              "name": "text",
              "type": "string",
              "value": "RAM stores temporary data.",
              "location": [
                {
                  "line": 5,
                  "col": 10
                },
                {
                  "line": 5,
                  "col": 35
                }
              ]
            }
          ],
          "description": [
            {
              "name": "admonition",
              "type": "block",
              "variant": "note",
              "blocks": [
                {
                  "name": "paragraph",
                  "type": "block",
                  "inlines": [
                    {
                      "name": "text",
                      "type": "string",
                      "value": "This is an admonition continuation.",
                      "location": [
                        {
                          "line": 7,
                          "col": 7
                        },
                        {
                          "line": 7,
                          "col": 41
                        }
                      ]
                    }
                  ],
                  "location": [
                    {
                      "line": 7,
                      "col": 7
                    },
                    {
                      "line": 7,
                      "col": 41
                    }
                  ]
                }
              ],
              "location": [
                {
                  "line": 7,
                  "col": 1
                },
                {
                  "line": 7,
                  "col": 41
                }
              ]
            }
          ],
          "location": [
            {
              "line": 5,
              "col": 1
            },
            {
              "line": 7,
              "col": 41
            }
          ]
        }
      ],
      "location": [
        {
          "line": 1,
          "col": 1
        },
        {
          "line": 7,
          "col": 41
        }
      ]
    }
  ],
  "location": [
    {
      "line": 1,
      "col": 1
    },
    {
      "line": 7,
      "col": 41
    }
  ]
}