The basics of "go/ast" for people who can't even spell ast
Автор: Forge Utah
Загружено: 2025-12-02
Просмотров: 34
Описание:
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 programming languages.
Carson Anderson
DevX-O - Weave
Carson is a co-organizer of the Utah Gophers meetup and a fixture at the Utah Kubernetes meetup. He may be best known for his "Kubernetes Deconstructed" presentation but he has been speaking at conferences constantly ever since. He currently works at Weave on the Developer Experience team as the DevX-O (a made up title). As part of this team, he works constantly to improve the quality of life developers.
https://carson-anderson.com/
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: