Egel, or, A bit more documentation on the C AST


#1

Dear people,

Thank you for designing and implementing the Commonmark specification. I wrote a wrapper around libcmark in a toy language I developed but I now find myself a bit mesmerized by the AST and ‘what it all means.’ For example, the AST is very generic and because every node can have children it isn’t clear when they must, don’t, or may have them. And what are these custom nodes for?

A bit more documentation on the C AST would be nice in the future.

Thanks, spruit11