Monday, November 01, 2021

GoLang source <=> AST (Abstract Syntax Trees)

Rewriting Go source code with AST tooling - Eli Bendersky's websiteg

Go is well-known for having great tooling for analyzing code written in the language, right in the standard library with the go/* packages (go/parser, go/ast, go/types etc.); in addition, the golang.org/x/tools module contains several supplemental packages that are even more powerful.

Golang AST visualizer: oast.yuroyoro.net





No comments: