5 Basic AST Manipulation in Go

zupzup.org posted by zupzup 8 days ago  

Traversing an AST (Abstract Syntax Tree) is useful for analysing and understanding a code-base, but the real power comes when we are able to manipulate it, which allows us to build tools. This post shows a simple example of how to manipulate the AST in Go.

Register to comment or vote on this story