Re: Is there any AST or events exposed by asciidoctor parser?
Posted by
mojavelinux on
Mar 19, 2013; 8:26am
URL: https://discuss.asciidoctor.org/Is-there-any-AST-or-events-exposed-by-asciidoctor-parser-tp62p64.html
This idea has been proposed, but not yet implemented. I'm interested in suggestions for how to implement it, keeping in mind that we don't want to affect the speed of parsing if events are not being used*.
https://github.com/asciidoctor/asciidoctor/issues/60
-Dan
* Speed is a key feature of Asciidoctor, so we always want to be mindful of it :)
On Tue, Mar 19, 2013 at 1:48 AM, davide.cavestro [via Asciidoctor :: Discussion]
<[hidden email]> wrote:
Hi,
just wondering if there's any AST or events exposed by asciidoctor parser.
That would help producing enhanced asciidoc editors with a syntax-highlighting that reflects the instruction semantic and WYSIWYM features (like Lyx for Latex) or with scrollbar-linked side previews (like markdownpad does).
Cheers
Davide
--
Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597