Intermediate compiler docc results

DocC is a documentation compiler. Being a compiler, it would make sense that when moving from the Markdown representation to a HTML representation there would be some intermediate output -- an AST, etc.

I am wondering if and how one could get access to the AST, for example, representation of the documentation...?

Being a compiler, it would make sense that … there would be some intermediate output

And indeed there is. In fact, IIRC there are two, one in memory representation (a symbol graph) and one on-disk (JSON perhaps).

Note My focus is on using DocC, so I only pay passing attention to this stuff.

I am wondering if and how one could get access to the AST

I think you should pop on over to the [Swift-DocC area] on Swift Forums and:

  1. Search the existing posts to see what you can learn from those

  2. If that doesn’t get you what you need, start a thread over there

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Intermediate compiler docc results
 
 
Q