On Tue, 27 Jan 2015 at 22:37:20 PST, Erik Hetzner <e...@e6h.org> wrote: > > […] > > I wrote a parser for pandoc citations (that assumes you start with a > citation string, that is, it doesn’t work unless you have extracted > the citation string from the document): > > https://bitbucket.org/egh/zot4rst/src/master/xciterst/parser.py > > but it doesn’t seem that org-element.el uses a grammar, so I’m not > sure how much that would help. There is also, of course, the pandoc > parser.
I have started porting this parser to elisp. So far it can’t parse much, but it shouldn’t be too hard to finish. https://gitlab.com/egh/org-pdcite This includes parser combinator functionality for elisp. best, Erik -- Sent from my free software system <http://fsf.org/>.