Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Provide a more detailed UniAST specification

未关闭
#74 2 条评论 3 个 reaction 已指派 1 人 在 GitHub 查看

@angrychow 已经在做这个了。

开始于 2025年9月26日。

评估

这个 Issue 还没有评估数据。

描述

C-maintenance C-proposal

Is your feature request related to a problem? Please describe.

我发现目前 ABCoder 实际上有三套用于生成 UniAST 的解析器:基于 Golang 的解析器、基于 LSP 协议的解析器,以及基于 TypeScript 的解析器。考虑到未来可能会引入更多的解析器,我们或许应该为 UniAST 给出一个更严格的定义。

I’ve noticed that ABCoder currently has three parsers for generating UniAST: a Golang-based parser, an LSP-based parser, and a TypeScript-based parser. Considering that more parsers may be introduced in the future, it might be necessary to provide a stricter definition of UniAST.

Describe the solution you'd like

重写 docs/uniast-{zh|en}.md,给出一个符合规范的 specification 文档,并且每一类 parser 都应该描述实现 docs/uniast-{zh|en}.md 的关键细节。

Rewrite docs/uniast-{zh|en}.md, and provide documentation for each parser on how it implements docs/uniast-{zh|en}.md.

主要语言
Go
星标
391
派生
58
平均合并
2 天 21 小时
30 天内合并 PR
1

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

cloudwego/abcoder 的其他 Issue

查看 cloudwego/abcoder 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。