Show HN: Anyone interested in a tool helps to explore C++ ASTs
a day ago
- #AST visualization
- #Clang tool
- #code analysis
- ACAV is an interactive Abstract Syntax Tree (AST) visualization tool for C, C++, and Objective-C built with Clang and Qt.
- It uses a JSON compilation database (e.g., compile_commands.json) to open real projects, inspect ASTs for translation units, and link source code with AST nodes.
- The tool follows a three-program architecture designed for practical exploration of real codebases, featuring background processing and AST caching for responsive interaction.
- ACAV is intended for educational (students), research (program structure studies), and development (Clang-based tool debugging) purposes, but is read-only and does not modify code.