AST in JSONFormat

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 8 03:01:33 PDT 2019


On Sat, Jun 8, 2019 at 5:46 AM Monalisa Rout via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
>
> Hello,
>
> I am using LibTooling to dump the clangAST in JSON format which is available in clang 9.
> I need the JSON Schema for that. Is it available ??
>
> If not wil you be interested in one ??

The JSON format for AST dumping is a work in progress that was started
fairly recently, so beware that the output is incomplete and is still
in flux. There is currently no schema for the output format, but that
is on purpose -- we are not ready to commit to a particular schema.
Currently, there is no implied stability for the content or format of
the dump between major releases, other than that it be valid JSON.

~Aaron

>
> Regards,
> Mona
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


More information about the cfe-commits mailing list