zchee / clang-server

A C/C++ AST index server using libclang and flatbuffers written in Go

Home Page:https://godoc.org/github.com/zchee/clang-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

clang-server

CircleCI codecov.io godoc.org Releases GA

A C/C++ AST index server using libclang over the msgpack-rpc written in Go.

Concept

  • Fast indexing of C/C++ AST database onto the NoSQL, which serialized by flatbuffers
    • Now using the leveldb key-value storage
    • Without C bindings using the syndtr/goleveldb, which is natively implemented leveldb in Go
  • Support cross-platform and multi-architecture AST indexing
    • Linux, macOS, BSD and Windows
    • arm, arm64 m68k, mips, sparc and x86_(16|32|64)
  • Server/Client architecture over the msgpack-rpc
  • Built-in compile_commands.json generator using google/kati and ninja for Makefile
    • No need make for the generating compile_commands.json

About

A C/C++ AST index server using libclang and flatbuffers written in Go

https://godoc.org/github.com/zchee/clang-server

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 88.7%Language:Makefile 8.7%Language:C++ 2.6%