News for hackers. Stuff that matters.
Re:Show HN: ClangQL – Query C++ codebases using SQLite by pkhuong on Saturday May 22, 2021 @02:51PM (#27249231)
For something less PoCy, https://www.sourcetrail.com/ 's internal representation of the reference graph is a sqlite db file with pretty much a triple store schema.
Re:Show HN: ClangQL – Query C++ codebases using SQLite by frabert on Saturday May 22, 2021 @02:53PM (#27249245)
The idea for doing this experiment was actually that I tried times and times again to produce a SourceTrail graph for the LLVM codebase but always failed due to one reason or another. Then I discovered that they provided the gRPC interface to their clangd index and I came up with this.

EDIT: also, doing things this way you don't need to reimplement C++ indexing because you can leverage the existing clang features