sexpr
Sexpr is the renderer used to test yawip parsers.
It transforms the syntax tree produced by the parsers into something that is sort of kind of like an S-Expression.
The output is not intended to be pretty, but it is easy to compare against for testing.
Example
Given the following AsciiDoc as input:
= Hello, World! : A wry commentary
Doc Writer <doc@example.com>
Then sexpr will output:
(Document
(DocumentHeader
(SectionLevel0 "Hello, World! : A wry commentary")
(AuthorLine "Doc Writer <doc@example.com>")))