Proposal: Javac Abstract Syntax Tree Viewer

Jan Lahoda jan.lahoda at
Fri May 2 11:10:51 UTC 2014

Hi Volker,

I was not considering that so far. I might have been confusing saying 
"graphical". What I meant so far was a GUI, not painting the AST as a 
graph. My current prototype is simply a text pane showing the source 
code and a tree view showing the AST for the source code.


On 05/02/2014 07:48 AM, Volker Simonis wrote:
> Hi Jan,
> will this new tool integrate with and/or reuse parts of the Ideal Graph
> Visualizer [1], [2] already used in HotSpot and Graal?
> Thanks,
> Volker
> [1]
> [2]
> On Monday, April 28, 2014, Jan Lahoda <jan.lahoda at
> <mailto:jan.lahoda at>> wrote:
>     Hi,
>     I would like to propose a tool for inclusion to the Code Tools project:
>     ---
>     Tool Name: Javac Abstract Syntax Tree Viewer
>     Summary: Graphical viewer for inspection of AST, and other data,
>     produced by the standard Java compiler, javac.
>     Proposed By: Jan Lahoda
>     Rationale:
>     The way javac models source code is not always easy to grasp,
>     despite all attempts to make it as convenient as possible. Being
>     able to actually see and inspect the AST and related information
>     using a convenient UI is therefore very useful.
>     Hereby, a GUI tool to visualize javac ASTs and related information
>     is proposed for the Code Tools project. The primary target audience
>     of the tool are clients using the javac source code modeling APIs.
>     Secondary target audience are javac developers themselves. The tool
>     should therefore also support inspection of javac internal aspects
>     of the model.
>     ---
>     Thanks,
>          Jan

More information about the code-tools-dev mailing list