chai2010/go-ast-book resource
:books: 《Go语言定制指南》(原名:Go语法树入门/开源免费图书/Go语言进阶/掌握抽象语法树/Go语言AST) observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2830
- days_rel: n/a
- days_push: 707
- n_releases_24m: 0
Adoption not part of the score
5508 stars · 654 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A free open-source Chinese-language book (《Go语言定制指南》, formerly Go语法树入门) teaching Go's abstract syntax tree via the go/ast and go/token packages, plus parser tools like goyacc. It is a learning resource for building Go language tooling and toy compilers.
Use cases
- learn go/ast to parse Go source code
- build custom Go code analysis tools
- write a toy compiler for a Go-like language
- understand how go fmt and go doc work internally
- learn goyacc and parser generation
- customize the Go language via syntax trees
When to choose
- you want a free, structured introduction to Go's AST packages
- you are building Go linters, formatters, or code generators
- you want to learn compiler basics with Go as the target language
When to avoid
- you need a ready-made tool or library rather than a book
- you need content in English
- you want a general Go language tutorial rather than AST/compiler topics
Facets
learning-resource · maturity active
parser compiler documentation programming-language tutorials programming-languages parsers compilers developer-tools go cross-platform go-ast syntax-tree goyacc llvm free-book chinese
2 sources
- readme: https://github.com/chai2010/go-ast-book · fetched 2026-08-28 · 082d01ddaef3
- homepage: https://chai2010.cn/go-ast-book · fetched 2026-08-29 · 6125d4396f97
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| chai2010/go-ast-book | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="chai2010/go-ast-book")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem