Login  Register

Re: AST Inspector

Posted by Tudor Girba-2 on Jun 29, 2015; 4:18pm
URL: https://forum.world.st/AST-Inspector-tp4834638p4834644.html

Hi,

Did you already try the AST view from the GT Inspector?

Inline image 1

Cheers,
Doru



On Mon, Jun 29, 2015 at 6:04 PM, Mark Rizun <[hidden email]> wrote:
Hi, everyone!

When I was exploring AST in Pharo, at the beginning it seemed a bit
confusing for me how the tree looks like, or which part of code some node
represents etc. As I'm working with ASTs for a while now, still not an
expert ;), I decided to make a simple AST Inspector for myself and everyone
that needs it. Hopefully, this inspector will make peoples lives easier when
learning ASTs. For now its very raw. Inspector shows the code and its AST
representation visually like in the picture.
Also you can select/deselect a nodes of AST an see which part of code it
represents (like in the picture above). Functionality ends here :) What do
you think about it? Maybe you guys have some cool ideas for this inspector?

<http://forum.world.st/file/n4834638/AST_Inspector.png>

Cheers,
Mark




--
View this message in context: http://forum.world.st/AST-Inspector-tp4834638.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.




--
www.tudorgirba.com

"Every thing has its own flow"