Skip to content

vortex73/ASTViz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASTViz

Visualize and grep through the AST nodes for your codebases.

holy

Build Instructions

  1. Clone this repo

  2. Run the following commands in the project folder

mkdir build && cd build
cmake ../
make

Usage

It is advised to have clang on your system for generating the AST.

# Where x.c is a random C source file.
clang -Xclang -ast-dump=json -fsyntax-only x.c > ast.json
./plot <path-to-json-file>

About

A Visualizer for the clang AST

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published