acdc-parser 0.8.0

`AsciiDoc` parser using PEG grammars
Documentation
{
  "name": "document",
  "type": "block",
  "blocks": [
    {
      "name": "paragraph",
      "type": "block",
      "inlines": [
        {
          "name": "span",
          "type": "inline",
          "variant": "emphasis",
          "form": "constrained",
          "inlines": [
            {
              "name": "text",
              "type": "string",
              "value": "`italic mono`",
              "location": [
                {
                  "line": 1,
                  "col": 2
                },
                {
                  "line": 1,
                  "col": 14
                }
              ]
            }
          ],
          "location": [
            {
              "line": 1,
              "col": 1
            },
            {
              "line": 1,
              "col": 15
            }
          ]
        }
      ],
      "location": [
        {
          "line": 1,
          "col": 1
        },
        {
          "line": 1,
          "col": 15
        }
      ]
    },
    {
      "name": "paragraph",
      "type": "block",
      "inlines": [
        {
          "name": "span",
          "type": "inline",
          "variant": "strong",
          "form": "constrained",
          "inlines": [
            {
              "name": "span",
              "type": "inline",
              "variant": "emphasis",
              "form": "constrained",
              "inlines": [
                {
                  "name": "text",
                  "type": "string",
                  "value": "`bold italic mono`",
                  "location": [
                    {
                      "line": 3,
                      "col": 3
                    },
                    {
                      "line": 3,
                      "col": 20
                    }
                  ]
                }
              ],
              "location": [
                {
                  "line": 3,
                  "col": 2
                },
                {
                  "line": 3,
                  "col": 21
                }
              ]
            }
          ],
          "location": [
            {
              "line": 3,
              "col": 1
            },
            {
              "line": 3,
              "col": 22
            }
          ]
        }
      ],
      "location": [
        {
          "line": 3,
          "col": 1
        },
        {
          "line": 3,
          "col": 22
        }
      ]
    },
    {
      "name": "paragraph",
      "type": "block",
      "inlines": [
        {
          "name": "span",
          "type": "inline",
          "variant": "strong",
          "form": "constrained",
          "inlines": [
            {
              "name": "span",
              "type": "inline",
              "variant": "code",
              "form": "constrained",
              "inlines": [
                {
                  "name": "text",
                  "type": "string",
                  "value": "bold mono",
                  "location": [
                    {
                      "line": 5,
                      "col": 3
                    },
                    {
                      "line": 5,
                      "col": 11
                    }
                  ]
                }
              ],
              "location": [
                {
                  "line": 5,
                  "col": 2
                },
                {
                  "line": 5,
                  "col": 12
                }
              ]
            }
          ],
          "location": [
            {
              "line": 5,
              "col": 1
            },
            {
              "line": 5,
              "col": 13
            }
          ]
        }
      ],
      "location": [
        {
          "line": 5,
          "col": 1
        },
        {
          "line": 5,
          "col": 13
        }
      ]
    },
    {
      "name": "paragraph",
      "type": "block",
      "inlines": [
        {
          "name": "span",
          "type": "inline",
          "variant": "emphasis",
          "form": "constrained",
          "inlines": [
            {
              "name": "text",
              "type": "string",
              "value": "*bold inside italic*",
              "location": [
                {
                  "line": 7,
                  "col": 2
                },
                {
                  "line": 7,
                  "col": 21
                }
              ]
            }
          ],
          "location": [
            {
              "line": 7,
              "col": 1
            },
            {
              "line": 7,
              "col": 22
            }
          ]
        }
      ],
      "location": [
        {
          "line": 7,
          "col": 1
        },
        {
          "line": 7,
          "col": 22
        }
      ]
    },
    {
      "name": "paragraph",
      "type": "block",
      "inlines": [
        {
          "name": "span",
          "type": "inline",
          "variant": "code",
          "form": "constrained",
          "inlines": [
            {
              "name": "span",
              "type": "inline",
              "variant": "emphasis",
              "form": "constrained",
              "inlines": [
                {
                  "name": "text",
                  "type": "string",
                  "value": "italic inside mono",
                  "location": [
                    {
                      "line": 9,
                      "col": 3
                    },
                    {
                      "line": 9,
                      "col": 20
                    }
                  ]
                }
              ],
              "location": [
                {
                  "line": 9,
                  "col": 2
                },
                {
                  "line": 9,
                  "col": 21
                }
              ]
            }
          ],
          "location": [
            {
              "line": 9,
              "col": 1
            },
            {
              "line": 9,
              "col": 22
            }
          ]
        }
      ],
      "location": [
        {
          "line": 9,
          "col": 1
        },
        {
          "line": 9,
          "col": 22
        }
      ]
    },
    {
      "name": "paragraph",
      "type": "block",
      "inlines": [
        {
          "name": "span",
          "type": "inline",
          "variant": "code",
          "form": "constrained",
          "inlines": [
            {
              "name": "span",
              "type": "inline",
              "variant": "strong",
              "form": "constrained",
              "inlines": [
                {
                  "name": "text",
                  "type": "string",
                  "value": "bold inside mono",
                  "location": [
                    {
                      "line": 11,
                      "col": 3
                    },
                    {
                      "line": 11,
                      "col": 18
                    }
                  ]
                }
              ],
              "location": [
                {
                  "line": 11,
                  "col": 2
                },
                {
                  "line": 11,
                  "col": 19
                }
              ]
            }
          ],
          "location": [
            {
              "line": 11,
              "col": 1
            },
            {
              "line": 11,
              "col": 20
            }
          ]
        }
      ],
      "location": [
        {
          "line": 11,
          "col": 1
        },
        {
          "line": 11,
          "col": 20
        }
      ]
    }
  ],
  "location": [
    {
      "line": 1,
      "col": 1
    },
    {
      "line": 11,
      "col": 20
    }
  ]
}