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 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: > https://pkg.go.dev/go/a...@go1.20.5#Print > <https://pkg.go.dev/go/ast@go1.20.5#Print> > > On Wednesday, June 14, 2023 at 9:14:37 AM UTC+12 alex-coder wrote: > >> Hi All ! >> >> Could you please advice me a tool to visualize an ast graph. >> >> Thank you. >> > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/26ca3c04-89dc-4225-80a5-d5ad5bd8219an%40googlegroups.com.