Login  Register

Re: AST Inspector

Posted by Mark Rizun on Jun 29, 2015; 4:46pm
URL: https://forum.world.st/AST-Inspector-tp4834638p4834653.html

Simple morphic.

2015-06-29 20:01 GMT+03:00 Peter Uhnák <[hidden email]>:
What is it drawn with?

On Mon, Jun 29, 2015 at 6:53 PM, Mark Rizun <[hidden email]> wrote:
Need a bit of anti-aliasing for the round shapes :)

Right :)
 
I wonder how it will look with a long method: they usually have rather flat ASTs that would result in a wide diagram.

Yes it will be pretty huge. However, 1) there is an option to scale the tree (nodes) 2) most of the methods should not be very long ;)
Still the problem remains.

I built it rather for fun and my possible future work, than for wide usage. But I think it may be nice for some people to one-click and see the tree, and play with it.

About GT inspector: yes I've seen the ast view in inspecotr, and it's amazing how many things we can do with it.