LSP wire format, and JSON parsing/printing
commitcb252378d7c6c06f97ef8ddb37f3105b0eadc40d
authorLucian Wischik <ljw@fb.com>
Mon, 27 Mar 2017 02:09:22 +0000 (26 19:09 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Mon, 27 Mar 2017 02:27:51 +0000 (26 19:27 -0700)
tree6da3cb99b38e869c424a33f26f99a965672e1434
parentab0921c70087094f783bb37ac726bff42b62132a
LSP wire format, and JSON parsing/printing

Summary:
This is the LSP wire format, represented in OCaml.

Also JSON->OCaml parsing, and OCaml->JSON printing.

Reviewed By: dabek

Differential Revision: D4688237

fbshipit-source-id: 88e667e5c4643bee1e93a8d08decf55b027edf84
hphp/hack/src/ide_rpc/lsp.ml [new file with mode: 0644]
hphp/hack/src/ide_rpc/lsp_fmt.ml [new file with mode: 0644]
hphp/hack/src/utils/hh_json/hh_json.ml
hphp/hack/src/utils/hh_json/hh_json.mli
hphp/hack/test/unit/ide/lsp_fmt_test.ml [new file with mode: 0644]