TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

ClangQL: A tool to run SQL-like query on C/C++ Code

134 点作者 bubblehack3r大约 1 年前

10 条评论

frabert大约 1 年前
I made a similar tool with the same name a couple of years ago :D <a href="https:&#x2F;&#x2F;github.com&#x2F;frabert&#x2F;ClangQL">https:&#x2F;&#x2F;github.com&#x2F;frabert&#x2F;ClangQL</a>
评论 #39963718 未加载
评论 #39966970 未加载
mgaunard大约 1 年前
I&#x27;m not too familiar with Rust, but took a look at the Cargo.lock file of this project.<p>It depends on half the universe for some reason, sometimes multiple versions of the same library. And that doesn&#x27;t even include the main dependency which is libclang.<p>Is the Rust ecosystem just dependency hell?
评论 #39965530 未加载
评论 #39965389 未加载
评论 #39964000 未加载
评论 #39969792 未加载
评论 #39964843 未加载
评论 #39964100 未加载
评论 #39968019 未加载
morgante大约 1 年前
Cool to see another query language for source code! Yours is definitely closer to SQL than GritQL is.[0] I particularly like the count semantics.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;getgrit&#x2F;gritql">https:&#x2F;&#x2F;github.com&#x2F;getgrit&#x2F;gritql</a>
owlstuffing大约 1 年前
Bit of a tangent, but if we commonly stored source in a standard, fully attributed AST instead of caveman text, caching&#x2F;indexing and deterministic search would be a breeze. So would a million other useful applications such as every other IDE feature and source control.<p>As the decades go by it confounds me that we are still messing with plain text, and with virtually no resistance to it. Maybe it&#x27;s to keep the tabs vs. spaces flame war alive. _shrug_
评论 #39970471 未加载
评论 #39967677 未加载
评论 #39967630 未加载
评论 #39967828 未加载
giancarlostoro大约 1 年前
As cool as it looks, I have to ask: why?
评论 #39965402 未加载
评论 #39962044 未加载
评论 #39962079 未加载
rodrigobellusci大约 1 年前
Maaaan I&#x27;ve wanted this for a while for Java and Dart (for flutter apps). Nice job!
wruza大约 1 年前
Why no line:col info?
ranger_danger大约 1 年前
Do you have any binaries? Stock ubuntu 22.04 does not have new enough versions of things to build this.
boywitharupee大约 1 年前
i wonder if we can train a foundational model on this data which will eventually allow to semantically search the codebase?
cozzyd大约 1 年前
Wonder how it deals with templates