[cfe-dev] RFC: YAML as an intermediate format for clang::tooling::Replacement data on disk
Vane, Edwin
edwin.vane at intel.com
Thu Aug 1 07:00:18 PDT 2013
> -----Original Message-----
> From: Manuel Klimek [mailto:klimek at google.com]
> Sent: Thursday, August 01, 2013 9:40 AM
> To: Vane, Edwin
> Cc: Alex Rosenberg; Clang Dev List (cfe-dev at cs.uiuc.edu)
> Subject: Re: [cfe-dev] RFC: YAML as an intermediate format for
> clang::tooling::Replacement data on disk
...
> Note that the compilation databases use the YAML parser. JSON is a subset of
> YAML. I'd also (slightly) prefer to use JSON over YAML for the intermediate
> representation.
Is it enough to hard-code the output into JSON format and just use the YAML parser for reading? Or should we aim for a general purpose JSON reader/writer as with YAML in LLVM? Either way, I think the general purpose parser is beyond scope for what we want to achieve at this time with the migrator.
More information about the cfe-dev
mailing list