{"adoption": {"forks": 654, "observed_at": "2026-08-28T04:09:21.779633+00:00", "stars": 5508}, "canonical_url": "https://ross.abutalabs.com/products/go-ast-book", "card": {"archived": false, "artifact_type": "learning-resource", "description": ":books: 《Go语言定制指南》(原名：Go语法树入门/开源免费图书/Go语言进阶/掌握抽象语法树/Go语言AST)", "domain": ["tutorials", "programming-languages", "parsers", "compilers", "developer-tools"], "enriched": true, "function": ["parser", "compiler", "documentation", "programming-language"], "health_score": 20, "homepage": "https://chai2010.cn/go-ast-book", "language": "Go", "license": null, "license_family": "other", "maturity": "active", "member_repos": ["chai2010/go-ast-book"], "name": "chai2010/go-ast-book", "platform": ["go", "cross-platform"], "pushed_at": "2024-09-26T00:50:40+00:00", "repo": "chai2010/go-ast-book", "stars": 5508, "tags": ["go-ast", "syntax-tree", "goyacc", "llvm", "free-book", "chinese"], "topics": ["go", "golang", "ast", "book", "yacc", "goyacc", "bison", "flex", "lex", "llvm", "llir", "wa", "programming-language"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/go-ast-book", "repo": "chai2010/go-ast-book", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:21.779633+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:56:16.098764+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "082d01ddaef3f84fea0e72de876037b5d01ff754e5c77c79b49f5f5d7cec5fa1", "fetched_at": "2026-08-28T04:09:21.779633+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chai2010/go-ast-book"}, {"content_hash": "6125d4396f9738b4266571cadfd27c019a67beff8dcdac5dcab72e137dccffc2", "fetched_at": "2026-08-29T08:51:17.901953+00:00", "kind": "homepage", "missing": false, "url": "https://chai2010.cn/go-ast-book"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:21.779633+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:56:16.098764+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "082d01ddaef3f84fea0e72de876037b5d01ff754e5c77c79b49f5f5d7cec5fa1", "fetched_at": "2026-08-28T04:09:21.779633+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chai2010/go-ast-book"}, {"content_hash": "6125d4396f9738b4266571cadfd27c019a67beff8dcdac5dcab72e137dccffc2", "fetched_at": "2026-08-29T08:51:17.901953+00:00", "kind": "homepage", "missing": false, "url": "https://chai2010.cn/go-ast-book"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:56:16.098764+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "082d01ddaef3f84fea0e72de876037b5d01ff754e5c77c79b49f5f5d7cec5fa1", "fetched_at": "2026-08-28T04:09:21.779633+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chai2010/go-ast-book"}, {"content_hash": "6125d4396f9738b4266571cadfd27c019a67beff8dcdac5dcab72e137dccffc2", "fetched_at": "2026-08-29T08:51:17.901953+00:00", "kind": "homepage", "missing": false, "url": "https://chai2010.cn/go-ast-book"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:09:21.779633+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:21.779633+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:21.779633+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:56:16.098764+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "082d01ddaef3f84fea0e72de876037b5d01ff754e5c77c79b49f5f5d7cec5fa1", "fetched_at": "2026-08-28T04:09:21.779633+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chai2010/go-ast-book"}, {"content_hash": "6125d4396f9738b4266571cadfd27c019a67beff8dcdac5dcab72e137dccffc2", "fetched_at": "2026-08-29T08:51:17.901953+00:00", "kind": "homepage", "missing": false, "url": "https://chai2010.cn/go-ast-book"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:21.779633+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:21.779633+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:56:16.098764+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "082d01ddaef3f84fea0e72de876037b5d01ff754e5c77c79b49f5f5d7cec5fa1", "fetched_at": "2026-08-28T04:09:21.779633+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chai2010/go-ast-book"}, {"content_hash": "6125d4396f9738b4266571cadfd27c019a67beff8dcdac5dcab72e137dccffc2", "fetched_at": "2026-08-29T08:51:17.901953+00:00", "kind": "homepage", "missing": false, "url": "https://chai2010.cn/go-ast-book"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:21.779633+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:21.779633+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:21.779633+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:56:16.098764+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "082d01ddaef3f84fea0e72de876037b5d01ff754e5c77c79b49f5f5d7cec5fa1", "fetched_at": "2026-08-28T04:09:21.779633+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chai2010/go-ast-book"}, {"content_hash": "6125d4396f9738b4266571cadfd27c019a67beff8dcdac5dcab72e137dccffc2", "fetched_at": "2026-08-29T08:51:17.901953+00:00", "kind": "homepage", "missing": false, "url": "https://chai2010.cn/go-ast-book"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:21.779633+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:21.779633+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:56:16.098764+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "082d01ddaef3f84fea0e72de876037b5d01ff754e5c77c79b49f5f5d7cec5fa1", "fetched_at": "2026-08-28T04:09:21.779633+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chai2010/go-ast-book"}, {"content_hash": "6125d4396f9738b4266571cadfd27c019a67beff8dcdac5dcab72e137dccffc2", "fetched_at": "2026-08-29T08:51:17.901953+00:00", "kind": "homepage", "missing": false, "url": "https://chai2010.cn/go-ast-book"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:56:16.098764+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "082d01ddaef3f84fea0e72de876037b5d01ff754e5c77c79b49f5f5d7cec5fa1", "fetched_at": "2026-08-28T04:09:21.779633+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chai2010/go-ast-book"}, {"content_hash": "6125d4396f9738b4266571cadfd27c019a67beff8dcdac5dcab72e137dccffc2", "fetched_at": "2026-08-29T08:51:17.901953+00:00", "kind": "homepage", "missing": false, "url": "https://chai2010.cn/go-ast-book"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:56:16.098764+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "082d01ddaef3f84fea0e72de876037b5d01ff754e5c77c79b49f5f5d7cec5fa1", "fetched_at": "2026-08-28T04:09:21.779633+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chai2010/go-ast-book"}, {"content_hash": "6125d4396f9738b4266571cadfd27c019a67beff8dcdac5dcab72e137dccffc2", "fetched_at": "2026-08-29T08:51:17.901953+00:00", "kind": "homepage", "missing": false, "url": "https://chai2010.cn/go-ast-book"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:56:16.098764+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "082d01ddaef3f84fea0e72de876037b5d01ff754e5c77c79b49f5f5d7cec5fa1", "fetched_at": "2026-08-28T04:09:21.779633+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chai2010/go-ast-book"}, {"content_hash": "6125d4396f9738b4266571cadfd27c019a67beff8dcdac5dcab72e137dccffc2", "fetched_at": "2026-08-29T08:51:17.901953+00:00", "kind": "homepage", "missing": false, "url": "https://chai2010.cn/go-ast-book"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2830, "days_push": 707, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}