Writing an Asciidoc Parser in Rust: Asciidocr

(bikesbooksandbullshit.com)

55 points | by mattrighetti 2 days ago

3 comments

  • nabla9 11 hours ago
    Every document parser must first answer this question:

    Why not pandoc import filter.

    --

    The above does not mean: "do not parser outside pandoc". There are reasons not to use pandoc. It means: Please explain why not. It helps others to choose.

    • actionfromafar 10 hours ago
      Maybe this is not the answer for Asciidocr, but quite often the answer is "pandoc has an internal representation of what a document is. That representation is not as rich as many of the formats it supports."
  • arunc 2 hours ago
    Nothing comes close to Asciidoc(tor) for a complete documentation suite.
  • pbronez 12 hours ago
    Neat project, nice to see more investment in the AsciiDoc ecosystem. I've shifted my focus to Typst, but I've long liked AsciiDoc as an authoring format.

    Also TIL about HTMLBook, which looks like a nice subset of HTML for documents.

    https://oreillymedia.github.io/HTMLBook/