This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 15/17] Language Server Protocol: add lsp::server abstract base class


On Thu, 2017-07-27 at 09:55 +0200, Richard Biener wrote:
> On Mon, Jul 24, 2017 at 10:05 PM, David Malcolm <dmalcolm@redhat.com>
> wrote:
> > This patch adds an lsp::server abstract base class for implementing
> > servers for the Language Server Protocol:
> >   https://github.com/Microsoft/language-server-protocol
> > 
> > along with supporting classes mirroring those from the protocol
> > description.
> > 
> > The public specification of the protocol uses CamelCase, and so
> > these
> > classes use CamelCase, to mirror the protocol definition.
> > 
> > Only a small subset of the protocol is implemented, enough for
> > a proof-of-concept.
> > 
> > Ideally much/all of this would be autogenerated from the
> > protocol definition.
> > 
> > The patch also implements an ::lsp::jsonrpc_server subclass of
> > ::jsonrpc::server, handling the marshalling from JSON-RPC to
> > an lsp::server instance, expressing them as vfunc calls.
> > 
> > gcc/ChangeLog:
> >         * Makefile.in (OBJS): Add lsp.o.
> >         * lsp.c: New file.
> 
> New files should use .cc extension (we're using C++ now).
> 
> Richard.
> 

Thanks; will do for next iteration of the kit.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]