ACAV (Aurora Clang AST Viewer) is an interactive Abstract Syntax Tree (AST) visualization tool for C, C++, and Objective-C, built with Clang and Qt. Given a JSON compilation database such as compile_commands.json, ACAV lets you open a real project, inspect the AST for a translation unit, and move directly between source code and AST nodes.
Screenshot: ACAV displaying the file explorer, source-code panel, AST tree view, declaration-context panels, and log panel.
Project Links
At a Glance
With a valid compilation database, ACAV lets you:
inspect the AST for a translation unit in a navigable tree,
move in both directions between source locations and AST nodes,
view declaration context while exploring program structure,
search both source text and AST nodes, and
reuse dependency and AST-cache artifacts across sessions.
... continue reading