[go-nuts] Re: tool for ast graph visualization

2023-06-15 Thread alex-coder
Thank you so much ! четверг, 15 июня 2023 г. в 13:28:52 UTC+3, Vraj Reshamdalal: > Hi alex-coder, > To get ast for GO code in a json format you can try a web tool: > https://astexplorer.net/ > or > https://github.com/asty-org/asty > > Thanks, > Vraj > > On Thursday, June 15, 2023 at 9:31:54 AM

[go-nuts] Re: tool for ast graph visualization

2023-06-15 Thread Vraj Reshamdalal
Hi alex-coder, To get ast for GO code in a json format you can try a web tool: https://astexplorer.net/ or https://github.com/asty-org/asty Thanks, Vraj On Thursday, June 15, 2023 at 9:31:54 AM UTC+5:30 alex-coder wrote: > Xa, context is the king on a field :-) > > You gave a good sample, and

[go-nuts] Re: tool for ast graph visualization

2023-06-14 Thread alex-coder
Xa, context is the king on a field :-) You gave a good sample, and I would like to get ast for GO code in a json format for further processing. четверг, 15 июня 2023 г. в 01:45:20 UTC+3, ben...@gmail.com: > Hi Alex, could you please give a bit more context about what language or > kind of

[go-nuts] Re: tool for ast graph visualization

2023-06-14 Thread ben...@gmail.com
Hi Alex, could you please give a bit more context about what language or kind of AST you're referring to, and what you mean by visualize? As Vraj mentioned, Graphviz is good for the general case. If you just want to "visualize" Go AST in a text format, you can use go/ast.Print:

[go-nuts] Re: tool for ast graph visualization

2023-06-14 Thread Brian Candler
Aside: draw.io also has functionality like graphviz for the web 2.0 generation: https://drawio-app.com/blog/automatically-create-draw-io-diagrams-from-csv-files/ On Wednesday, 14 June 2023 at 10:01:10 UTC+1 Vraj Reshamdalal wrote: > Hi alex-coder! > You can try using Graphviz. > Graphviz

[go-nuts] Re: tool for ast graph visualization

2023-06-14 Thread Vraj Reshamdalal
Hi alex-coder! You can try using Graphviz. Graphviz (https://graphviz.org/) is a powerful open-source graph visualization software. It provides a collection of tools for visualizing and manipulating graph structures (such as AST graphs). To generate and visualize a graph using Graphviz, you can