
Carson Anderson
Weave
Carson is a fixture in the local Kubernetes and Go meetups. He has also been working tirelessly for the last 4 years to help build Weave's a Developer Experience Platform.
The basics of "go/ast" for people who can't even spell ast
Go comes "batteries included" and one of the features of the language is that it ships with a parser that can read Go code and parse that code into data structures. These structures are organized it what is called an "Abstract Syntax Tree" or AST.
Ok, so who cares? You! You should care! This talk will give you an introduction into what it takes to parse Go code, it's easier then you think! Then we will cover an example use-case showing how you can parse a code base and then walk through the parsed code to generate documentation from code comments.
Understanding even a tiny percentage of how the "go/ast" package works will open up new possibilities for you and help you better understand Go and other programing languages.