I would very much like to (attempt to) improve the way the Swift compiler prints its AST.
-dump-ast option prints the AST in a format that is similar to S-Expressions, which is supposed to be relatively easy for other programs to parse. However, I've been finding it hard to create a reliable parser for this ast format. It seems to me that the output was never meant to be parsed by other programs (instead, it's meant for human eyes only), hence the difficulty.
Would there be any interest (or opposition) from the community to implementing support for a different format such as YAML or JSON?