As the title suggests, I'm hoping for a static code visualization tool that can support any language.
I'm hoping there is some tool which can be given some information about the language, and generate a graph (I believe it's called "control flow graph" - a graph of which function calls which)
For the language I have in mind, for example, it seems relatively easy, since the language isn't very complex, and I can think of nothing I'm familiar with from languages such as C/C++ that would make it particularly difficult to analyze said language.
divine statically analyzes and visualizes your code base. You may link a git repo or upload code directly. At the current beta state,
Java
binaries are supported. It will be expanded to also support languages such asJavaScript
,C
,C++
,C#
,Swift
,Objective-C
andPHP
. Visualizations are interactive and you may follow the control flow in a tangle-free hive plot.https://divine.engineering/for-engineers#code
Single projects are free.
Disclaimer: I am directly affiliated with this product.
Edit Here are tools specifically for
JASS
.This one will give you function definitions and calls. It would be an easy task to assemble a call graph from it and visualize it using e.g. Treeviz or d3. https://github.com/jfhs/php-jass-parser
This one is a bit more abstract, but might be helpful as well: https://github.com/lep/jassjass