{
  "added_at": "2026-11-03",
  "additional_evidence_urls": [
    "https://github.com/T14Raptor/go-fAST/blob/379695448820483158b38ed4e6860d347fc5fccc/go.mod",
    "https://github.com/T14Raptor/go-fAST/blob/379695448820483158b38ed4e6860d347fc5fccc/.github/workflows/verify-generated.yml",
    "https://github.com/T14Raptor/go-fAST/tree/379695448820483158b38ed4e6860d347fc5fccc/ast/ext",
    "https://github.com/T14Raptor/go-fAST/blob/379695448820483158b38ed4e6860d347fc5fccc/parser/parser.go",
    "https://github.com/T14Raptor/go-fAST/blob/379695448820483158b38ed4e6860d347fc5fccc/LICENSE",
    "https://github.com/T14Raptor/go-fAST/releases/tag/v0.1.0",
    "https://proxy.golang.org/github.com/t14raptor/go-fast/@v/v0.1.0.info",
    "https://gofast.disasm.dev/"
  ],
  "category": "web-analysis",
  "description_en": "Go library for parsing, traversing, transforming and regenerating JavaScript abstract syntax trees, which its README presents for code analysis, obfuscation and deobfuscation. Its parser builds on goja's parsing code, a generated SWC-style visitor API supports depth-first rewriting and cloning of nodes, a resolver tracks scopes and bindings, the ext package adds node-removal, side-effect and value-inference helpers, and a generator prints JavaScript from the tree. The documentation calls it a lightweight, faster alternative to Babel that deliberately omits parent, sibling and reference maps and automated mutation helpers.",
  "description_zh": "一个用 Go 编写的库，用于解析、遍历、转换和重新生成 JavaScript 抽象语法树，README 将其定位于代码分析以及混淆与反混淆。其解析器基于 goja 的解析代码，自动生成的 SWC 式访问者 API 支持深度优先地改写和克隆节点，解析器（resolver）跟踪作用域与绑定，ext 包提供删除节点、判断副作用和推断取值的辅助函数，代码生成器则从语法树输出 JavaScript。文档称它是比 Babel 更轻、更快的替代品，并刻意省去了父节点、兄弟节点和引用映射以及自动化的修改辅助功能。",
  "entry_url": "https://awesomerea.org/resources/go-fast-js-ast/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/go-fast-js-ast/",
  "evidence_url": "https://github.com/T14Raptor/go-fAST/blob/379695448820483158b38ed4e6860d347fc5fccc/README.md",
  "group": "tools",
  "id": "go-fast-js-ast",
  "json_url": "https://awesomerea.org/resources/go-fast-js-ast/record.json",
  "kind": "tool",
  "markdown_url": "https://awesomerea.org/resources/go-fast-js-ast/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/go-fast-js-ast/index.md",
  "name": "go-fAST",
  "name_zh": "go-fAST JavaScript 语法树库",
  "record_type": "resource",
  "relationship": "foundation",
  "requirements": [
    "Latest tag at review: v0.1.0, created 2026-07-02 and served by the Go module proxy under the lowercase module path github.com/t14raptor/go-fast; there are no GitHub releases. The reviewed master commit of 2026-10-04 is 11 commits ahead of that tag, with parser, resolver and generator fixes and a new PreserveParens parse option.",
    "go.mod requires Go 1.24 and depends only on nukilabs/ftoa and nukilabs/unicodeid. Unit tests cover the parser, generator, resolver and statement helpers, but the only CI workflow checks that the generated union, visitor and clone files are up to date and does not run them. Guides and example visitors, such as unrolling sequence expressions and expanding variable declarations, are on the project's GitBook documentation site.",
    "It is a library rather than a ready-made deobfuscator: users write their own visitors for the transformations they need and supply the JavaScript they analyze. The README does not state which ECMAScript versions it parses.",
    "MIT (copyright 2024 T14Raptor); the README credits goja for parsing code and SWC for the visitor API design."
  ],
  "requirements_zh": [
    "审阅时最新标签为 v0.1.0，创建于 2026-07-02，Go 模块代理以小写模块路径 github.com/t14raptor/go-fast 提供该版本；GitHub 上没有发布版。所审阅的 master 分支 2026-10-04 提交比该标签多 11 个提交，包括解析器、作用域解析器和代码生成器的修复，以及新的 PreserveParens 解析选项。",
    "go.mod 要求 Go 1.24，只依赖 nukilabs/ftoa 和 nukilabs/unicodeid。单元测试覆盖解析器、代码生成器、作用域解析器和语句辅助函数，但唯一的 CI 工作流只检查自动生成的 union、visitor 和 clone 文件是否最新，并不运行这些测试。使用指南和示例访问者（如展开逗号序列表达式、拆分变量声明）位于项目的 GitBook 文档站点。",
    "它是一个库而非现成的反混淆工具：使用者需针对所需的转换自行编写访问者，并自备待分析的 JavaScript。README 未说明它能解析哪些 ECMAScript 版本。",
    "采用 MIT 许可证（版权 2024 T14Raptor）；README 致谢 goja 提供解析代码、SWC 提供访问者 API 设计。"
  ],
  "targets": [
    "website"
  ],
  "url": "https://github.com/T14Raptor/go-fAST",
  "verification": "source-reviewed",
  "verified_at": "2026-10-27"
}
