Displaying 2 results from an estimated 2 matches for "5rrybkdy8ey".
2018 Apr 16
0
RFC: Adding a JSON library to LLVM Support
...weak conventions around marshalling to structs with ADL functions. Compared
to what was described in my doc, it's simpler but less efficient, dropping
the arena representation.
(The reasons for not reusing an existing library were covered here:
https://groups.google.com/forum/#!topic/llvm-dev/5rryBKDY8eY)
There's at least some desire to reuse this more widely (I just talked to
Pavel about LLDB). So I'd propose lifting this up to llvm/Support/JSON.h.
(Dependencies are only Support and ADT).
Let me know if anyone has concerns!
On Fri, Oct 27, 2017 at 9:53 PM Sam McCall <sammccall at goo...
2017 Oct 27
10
RFC: Adding a JSON library to LLVM Support
We don't have a dedicated JSON library in the LLVM tree, I'd like to add
one. The pressing need is for clangd, but we have other tools that
read/write JSON too.
I'm proposing we write a new one, rather than importing a third-party
library (licensing/integration reasons), on or extending YamlParser/YamlIO
(usability/flexibility). I lean towards a design that parses a full DOM at
once,