How to dump AST nodes of a small program (larger program works)?

Sidharth Kshatriya sid.kshatriya at
Wed Jul 27 03:47:34 UTC 2016


I am playing around with simplelanguage. To that end, I have a jvmci
compiler, graal-core, truffle, mx etc. all setup as explained on github.

Something like:

./sl -disassemble -dump tests/

works properly and I can see the AST/Compilation passes in igv. However,
something like

./sl -disassemble -dump tests/

does not show anything in igv. The program simply prints the result and

Is this because this program is being purely run in the AST interpreter?
Its a trivial program, I know, but I want to see the AST.

I'm on Truffle API 0.15 / jvmci 0.19-dev.



More information about the graal-dev mailing list