alt.hn

5/21/2026 at 7:53:51 PM

Show HN: Anyone interested in a tool helps to explore C++ ASTs

https://uvic-aurora.github.io/acav-manual/index.html

by leomicv

5/24/2026 at 6:10:27 AM

Nice to see another static analysis tool.

It looks like the compilation database is only used for discovering source files, without any additional cross translation unit analysis [1]. Even if you don't plan on implementing data flow tracking or other passes, it can still be interesting to know on which translation unit a function declaration is defined on.

Also, it seems we always have to recompile each unit when switching between source files. Consider pre-compiling and caching so it's only done once. That should also enable users to search across files/ASTs.

[1]: https://clang.llvm.org/docs/analyzer/user-docs/CrossTranslat...

by enoent

5/24/2026 at 1:24:10 AM

Is this based on or otherwise related to kythe?

by mohamedkoubaa

5/24/2026 at 6:36:54 AM

[dead]

by rohanucla

5/24/2026 at 1:14:12 AM

[flagged]

by dundunUp