cppast icon indicating copy to clipboard operation
cppast copied to clipboard

Eventual Feature Consideration Request: CQuery and/or Generic Language Server Protocol

Open RandomDSdevel opened this issue 7 years ago • 2 comments

@foonathan: Have you considered extending cppast so that it can work not just with Clang, but with any C++ tool that supports Microsoft's Language Server Protocol — for example, CQuery? Just a thought you might want to take into account sometime in the future, y'know…

RandomDSdevel avatar Jan 13 '18 19:01 RandomDSdevel

I have taken careful design decision to make cppast backend intrusive. I can easily add a different parser implementation that uses CQuery, for example. The AST itself is generic.

I might do it in the future, but I welcome any PRs.

foonathan avatar Jan 13 '18 19:01 foonathan

@foonathan:

I have taken careful design decision to make cppast backend intrusive. I can easily add a different parser implementation that uses CQuery, for example. The AST itself is generic.

You mean 'backend-agnostic,' right?

I might do it in the future, but I welcome any PRs.

The invitation is appreciated, but I currently don't have enough experience writing C++ code to contribute as of yet. I'm working on it, though, so we'll see! In any case, cppast seems like a great tool.

RandomDSdevel avatar Jan 13 '18 21:01 RandomDSdevel