|[asciidoc-lang-dev] [ANN] AsciiDoc implementation that can be used as a Pandoc front-end|
Hi!The last months I've been slowly working on an AsciiDoc parser in Haskell that can be used as a Pandoc front-end:
I've written a blog post about my goals, difficulties found, and solutions provided so far that I think it might be of interest to the members of this list:
I believe that the main technical innovation of the project is that there is an independent inline parser based on a formal (yet eclectic) grammar that can handle constrained/unconstrained formatting. The grammar is simple enough to be:
1. Easily augmented with new features 2. Useful in taking decisions about precedence (disambiguation)3. Useful to prove different properties about the parser (e.g., that any character can be processed at any point in the input).
The description of the grammar can be found here: https://github.com/gmarpons/asciidoc-hs/wiki/Inline-Parsing Any feedback and contributions to the project are very welcome! -- Guillem
Back to the top