Source to source transpilers && Concrete Syntax Trees

Hey all,

I was looking into some source to source transpilers for markdown and realized an AST wouldn’t do, and that I’d need a CST to keep some of the lexical tokens (e.g. \n or comments).

However, most parsers expose an AST as opposed to a CST.

Would anyone be aware of any commonmark parsers that exposes a CST?

Sam