6 Basic AST Traversal in Go

zupzup.org posted by zupzup 2470 days ago  

Looking at and interacting with the AST (Abstract Syntax Tree) of a program can be both interesting and useful for automation. In this post, we'll look at an example of how to parse a Go program to an AST and how to analyse it.

Register to comment or vote on this story