On 07/24/2017 02:05 PM, David Malcolm wrote: > This patch is the first part of the Language Server Protocol > server proof-of-concept. > > It adds support to gcc for reading and writing JSON, > based on DOM-like trees of "json::value" instances. > > gcc/ChangeLog: > * Makefile.in (OBJS): Add json.o. > * json.c: New file. > * json.h: New file. > * selftest-run-tests.c (selftest::run_tests): Call json_c_tests. > * selftest.h (selftest::json_c_tests): New decl. Didn't someone else already raise the issue of why not just use an existing json implementation. I realize we dislike too many external dependencies. BUt I also dislike recreating the wheel :-) These days I probably dislike the latter more than the former.
I'm not sure if I'm sold on the LSP idea in the kind of timeframes we're looking at for gcc-8. jeff