acdc-parser 0.8.0

`AsciiDoc` parser using PEG grammars
Documentation
{
  "name": "document",
  "type": "block",
  "blocks": [
    {
      "name": "paragraph",
      "type": "block",
      "inlines": [
        {
          "name": "text",
          "type": "string",
          "value": "Visit ",
          "location": [
            {
              "line": 1,
              "col": 1
            },
            {
              "line": 1,
              "col": 6
            }
          ]
        },
        {
          "name": "ref",
          "type": "inline",
          "variant": "link",
          "target": {
            "type": "url",
            "value": "https://example.com"
          },
          "location": [
            {
              "line": 1,
              "col": 7
            },
            {
              "line": 1,
              "col": 42
            }
          ],
          "attributes": {}
        },
        {
          "name": "text",
          "type": "string",
          "value": " for more information.",
          "location": [
            {
              "line": 1,
              "col": 43
            },
            {
              "line": 1,
              "col": 64
            }
          ]
        }
      ],
      "location": [
        {
          "line": 1,
          "col": 1
        },
        {
          "line": 1,
          "col": 64
        }
      ]
    },
    {
      "name": "paragraph",
      "type": "block",
      "inlines": [
        {
          "name": "text",
          "type": "string",
          "value": "You can also check ",
          "location": [
            {
              "line": 3,
              "col": 1
            },
            {
              "line": 3,
              "col": 19
            }
          ]
        },
        {
          "name": "ref",
          "type": "inline",
          "variant": "link",
          "target": {
            "type": "url",
            "value": "https://github.com/anthropics/claude-code"
          },
          "location": [
            {
              "line": 3,
              "col": 20
            },
            {
              "line": 3,
              "col": 97
            }
          ],
          "attributes": {
            "role": "external"
          }
        },
        {
          "name": "text",
          "type": "string",
          "value": " or ",
          "location": [
            {
              "line": 3,
              "col": 98
            },
            {
              "line": 3,
              "col": 101
            }
          ]
        },
        {
          "name": "ref",
          "type": "inline",
          "variant": "link",
          "target": {
            "type": "url",
            "value": "https://docs.anthropic.com"
          },
          "location": [
            {
              "line": 3,
              "col": 102
            },
            {
              "line": 3,
              "col": 152
            }
          ],
          "attributes": {}
        },
        {
          "name": "text",
          "type": "string",
          "value": ".",
          "location": [
            {
              "line": 3,
              "col": 153
            },
            {
              "line": 3,
              "col": 153
            }
          ]
        }
      ],
      "location": [
        {
          "line": 3,
          "col": 1
        },
        {
          "line": 3,
          "col": 153
        }
      ]
    },
    {
      "name": "paragraph",
      "type": "block",
      "inlines": [
        {
          "name": "text",
          "type": "string",
          "value": "Here's a URL with attributes: ",
          "location": [
            {
              "line": 5,
              "col": 1
            },
            {
              "line": 5,
              "col": 30
            }
          ]
        },
        {
          "name": "ref",
          "type": "inline",
          "variant": "link",
          "target": {
            "type": "url",
            "value": "https://rust-lang.org"
          },
          "location": [
            {
              "line": 5,
              "col": 31
            },
            {
              "line": 5,
              "col": 121
            }
          ],
          "attributes": {
            "target": "_blank",
            "title": "Official Rust docs"
          }
        },
        {
          "name": "text",
          "type": "string",
          "value": ".",
          "location": [
            {
              "line": 5,
              "col": 122
            },
            {
              "line": 5,
              "col": 122
            }
          ]
        }
      ],
      "location": [
        {
          "line": 5,
          "col": 1
        },
        {
          "line": 5,
          "col": 122
        }
      ]
    }
  ],
  "location": [
    {
      "line": 1,
      "col": 1
    },
    {
      "line": 5,
      "col": 122
    }
  ]
}